mirror of
https://github.com/scratchfoundation/scratch-l10n.git
synced 2024-11-14 19:35:10 -05:00
Update to webpack 4
This commit is contained in:
parent
effbee66f7
commit
c713d02ee1
2 changed files with 4 additions and 2 deletions
|
@ -33,7 +33,7 @@
|
|||
"devDependencies": {
|
||||
"babel-core": "^6.26.0",
|
||||
"babel-eslint": "^7.2.3",
|
||||
"babel-loader": "^7.1.2",
|
||||
"babel-loader": "^7.1.4",
|
||||
"babel-plugin-transform-object-rest-spread": "^6.26.0",
|
||||
"babel-preset-es2015": "^6.24.1",
|
||||
"eslint": "^4.6.1",
|
||||
|
@ -46,6 +46,7 @@
|
|||
"mkdirp": "^0.5.1",
|
||||
"react-intl": "2.4.0",
|
||||
"rimraf": "^2.6.2",
|
||||
"webpack": "^3.5.6"
|
||||
"webpack": "^4.6.0",
|
||||
"webpack-cli": "^2.0.15"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
const path = require('path');
|
||||
|
||||
module.exports = {
|
||||
mode: process.env.NODE_ENV === 'production' ? 'production' : 'development',
|
||||
devtool: 'cheap-module-source-map',
|
||||
module: {
|
||||
rules: [{
|
||||
|
|
Loading…
Reference in a new issue