mirror of
https://github.com/weaveworks/scope.git
synced 2026-07-28 01:31:17 +00:00
Added babel-plugin-lodash library for automatic cherry-picking of the Lodash modules
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
{
|
||||
"plugins": ["lodash"],
|
||||
"presets": ["es2015", "react"]
|
||||
}
|
||||
|
||||
@@ -41,6 +41,7 @@
|
||||
"babel-eslint": "5.0.0",
|
||||
"babel-jest": "17.0.2",
|
||||
"babel-loader": "6.2.8",
|
||||
"babel-plugin-lodash": "3.2.10",
|
||||
"babel-preset-es2015": "6.18.0",
|
||||
"babel-preset-react": "6.16.0",
|
||||
"clean-webpack-plugin": "0.1.14",
|
||||
|
||||
@@ -36,10 +36,9 @@ module.exports = {
|
||||
'./app/scripts/terminal-main',
|
||||
'webpack-hot-middleware/client'
|
||||
],
|
||||
vendors: ['babel-polyfill', 'classnames', 'dagre', 'filesize', 'immutable', 'lodash',
|
||||
vendors: ['babel-polyfill', 'classnames', 'dagre', 'filesize', 'immutable',
|
||||
'moment', 'page', 'react', 'react-dom', 'react-motion', 'react-redux', 'redux',
|
||||
'redux-thunk', 'reqwest', 'xterm',
|
||||
'webpack-hot-middleware/client'
|
||||
'redux-thunk', 'reqwest', 'xterm', 'webpack-hot-middleware/client'
|
||||
]
|
||||
},
|
||||
|
||||
|
||||
@@ -35,8 +35,8 @@ module.exports = {
|
||||
'terminal-app': './app/scripts/terminal-main',
|
||||
// keep only some in here, to make vendors and app bundles roughly same size
|
||||
vendors: ['babel-polyfill', 'classnames', 'immutable',
|
||||
'lodash', 'react', 'react-dom', 'react-redux',
|
||||
'redux', 'redux-thunk']
|
||||
'react', 'react-dom', 'react-redux', 'redux', 'redux-thunk'
|
||||
]
|
||||
},
|
||||
|
||||
output: {
|
||||
|
||||
Reference in New Issue
Block a user