Conversation
Danger run resulted in 2 warnings; to find out more, see the checks page. Generated by 🚫 dangerJS |
1377b35
to
2a47659
Compare
{ | ||
loader: 'sass-loader', | ||
options: { | ||
data: ` |
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.
👍
plugins/lodash.js
Outdated
@@ -0,0 +1,3 @@ | |||
const LodashModuleReplacementPlugin = require('lodash-webpack-plugin'); |
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.
I am not sure how useful this file is.
Can we do
module.exports = require('lodash-webpack-plugin')
?
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.
We could. I was just trying to keep consistent with the file structure of the other plugins. Let's discuss.
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.
I see, that is reasonable.
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.
I think that part of the last commit could have been done with git revert
48e48c2. Other than that 👍
This is a breaking change, should be increase the version in the same merge to master? |
Yes |
d6814b2
2a47659
to
d6814b2
Compare
21cfe6c
to
9e6235e
Compare
Motivation
Webpack has pretty bad performance when it comes to the
scss-loader
. This PR improves performance by removing some of the default options, since they're not always needed. They can still be passed via the.webpacker.js
file.Changes
postcss-preset-env
.