8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ba35f4 commit 91c7793Copy full SHA for 91c7793
README.md
@@ -27,19 +27,18 @@ var webpack = require('webpack');
27
28
module.exports = {
29
'module': {
30
- 'loaders': [{
31
- 'loader': 'babel',
+ 'rules': [{
+ 'use': 'babel',
32
'test': /\.js$/,
33
'exclude': /node_modules/,
34
- 'query': {
+ 'options': {
35
'plugins': ['lodash'],
36
'presets': [['env', { 'modules': false, 'targets': { 'node': 4 } }]]
37
}
38
}]
39
},
40
'plugins': [
41
new LodashModuleReplacementPlugin,
42
- new webpack.optimize.OccurrenceOrderPlugin,
43
new webpack.optimize.UglifyJsPlugin
44
]
45
};
0 commit comments