Merge pull request #18 from mzgoddard/webpack-4

Update to webpack 4
This commit is contained in:
Ray Schamp 2018-05-08 13:04:18 -04:00 committed by GitHub
commit f9e40e7956
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View file

@ -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"
}
}

View file

@ -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: [{