-
Notifications
You must be signed in to change notification settings - Fork 12k
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
fix(build): add react minification support #2754
Conversation
e8408b0
to
77416bd
Compare
@@ -24,6 +24,9 @@ export const getWebpackProdConfigPartial = function(projectRoot: string, appConf | |||
}, | |||
plugins: [ | |||
new WebpackMd5Hash(), | |||
new webpack.DefinePlugin({ | |||
'process.env.NODE_ENV': '\'production\'' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That looks a bit odd. Perhaps use JSON.stringify() instead?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You're right, changing it.
77416bd
to
27b5b9f
Compare
@Brocco I also had to fix the node vars used by test builds and reduce duplication to ensure all builds had the same ones. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Fix #2110