-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
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
How to add plugins to Webpack? #481
Comments
What plugin do you want to use? We currently don't allow (or plan to allow) this for reasons explained in #460 and #99. So if you want to customize anything, you have to run If you think some plugin is so good that it should be shipped by default please let us know. We want the provided experience to be the best we can do as long as we can keep it with zero configuration on the user side. |
Hello Dan (@gaearon) I know This is what I am trying to do I am building an APP that runs on iOS, Android, Mac(Electron), UWP, Chrome, Web. So in my opinion I need a way to set node environment variable, that webpack can read. I would love to know is there another better way of doing this. Thanks. |
Yes, it will be available in the next version: https://github.com/facebookincubator/create-react-app/blob/master/template/README.md#adding-custom-environment-variables.
|
It would be nice if I could use these Webpack plugins from Bugsnag (automated crash detection platform) to upload source maps and report builds: https://docs.bugsnag.com/build-integrations/webpack/ |
I want to add custom plugin to webpack build
I went to below location, modified the file and it worked.
Is there a better way of doing this. I don't like this.
I tried create+modify below file but that doesn't way
Is there a correct way of doing that I don't know?
The text was updated successfully, but these errors were encountered: