8000 Migrate webpack version in README.md from v1 to v2 (#103) · sarvex/lodash-webpack-plugin@91c7793 · GitHub
[go: up one dir, main page]

Skip to content

Commit 91c7793

Browse files
hiroppyjdalton
authored andcommitted
Migrate webpack version in README.md from v1 to v2 (lodash#103)
1 parent 1ba35f4 commit 91c7793

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,19 +27,18 @@ var webpack = require('webpack');
2727

2828
module.exports = {
2929
'module': {
30-
'loaders': [{
31-
'loader': 'babel',
30+
'rules': [{
31+
'use': 'babel',
3232
'test': /\.js$/,
3333
'exclude': /node_modules/,
34-
'query': {
34+
'options': {
3535
'plugins': ['lodash'],
3636
'presets': [['env', { 'modules': false, 'targets': { 'node': 4 } }]]
3737
}
3838
}]
3939
},
4040
'plugins': [
4141
new LodashModuleReplacementPlugin,
42-
new webpack.optimize.OccurrenceOrderPlugin,
4342
new webpack.optimize.UglifyJsPlugin
4443
]
4544
};

0 commit comments

Comments
 (0)
0