Content-Length: 281137 | pFad | http://github.com/lodash/lodash-webpack-plugin/commit/91c77934c74f72bec8a569a6867af4f63edec838

41 Migrate webpack version in README.md from v1 to v2 (#103) · lodash/lodash-webpack-plugin@91c7793 · GitHub
Skip to content
This repository was archived by the owner on Sep 16, 2023. It is now read-only.

Commit 91c7793

Browse files
hiroppyjdalton
authored andcommitted
Migrate webpack version in README.md from v1 to v2 (#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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/lodash/lodash-webpack-plugin/commit/91c77934c74f72bec8a569a6867af4f63edec838

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy