-
Notifications
You must be signed in to change notification settings - Fork 248
Better default webpack config #1210
Comments
In fact the default config is probably not good enough. |
PR welcome as it should not be that hard to get the config from |
Just to be sure that I understand what you want to achieve : the idea is to add |
Exactly! Can feel weird in the first place, but for now it's for us the simplest way to rely on a good (and up to date) common config widely used (and so accepted)! |
OK I will try to work on that :) Thank you for the tips |
If you need anything, just ask! |
I see that the project uses Lerna. To add a dependency on a particular package, do you use |
To be honest I don't use any of this solution. I add the dep by hand in the package.json of the relevant package and then I do |
Ok so I guess you don't really care how I install |
As you wish. Should be the same at the end anyway. |
I looked at it, began to work on a solution (using
I think that |
I guess we should not use wepack-merge and do the merge by hand. Should not be hard imo. I understand your point, but my idea is to rely on the package so we can (in theory) easily upgrade. And say "we rely on this". People will trust this more than a copy/adapted :) |
I see. Instead of trying to deep merge react-scripts config + current phenomic config, I should handpick what's interesting in react-scripts config (particularly loaders). |
Closing due to lack of interest. My idea is really to have a minimal config that people should extends by themselves if they want to. Might revisit later. |
Hello,
I just ran
npm run build
and saw that the resulting CSS file is not minified. So I looked at@phenomic/plugin-bundler-webpack
default webpack config file and effectively, css-loader's minimize option is not used at all.Is this intentional or is it really missing ? If it is missing, I can propose a PR to fix it :)
The text was updated successfully, but these errors were encountered: