Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

webpack externals? #22

Open
joemaller opened this issue May 9, 2022 · 1 comment
Open

webpack externals? #22

joemaller opened this issue May 9, 2022 · 1 comment

Comments

@joemaller
Copy link
Member

If we use it, items should pull from the config file. This could include stuff like jQuery and other stuff WordPress includes by default to keep that stuff out of our production bundles.

https://webpack.js.org/configuration/externals/

@joemaller
Copy link
Member Author

Integrating the WordPress Dependency Extraction Webpack Plugin. We will need to add a config option which prevents the plugin from loading since it omits a bunch of scripts by default.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant