Upgrade to Webpack 4

This commit is contained in:
Tim Schaub
2018-01-25 09:47:01 -07:00
committed by ahocevar
parent 79a5bd6538
commit 48cbca1f6e
4 changed files with 23 additions and 69 deletions

View File

@@ -14,8 +14,8 @@
"posttest": "npm run typecheck",
"test": "npm run karma -- --single-run",
"karma": "karma start test/karma.config.js",
"serve-examples": "mkdir -p build/examples && webpack --config examples/webpack/config.js --watch & serve build/examples",
"build-examples": "webpack --config examples/webpack/config.js --env=prod",
"serve-examples": "mkdir -p build/examples && webpack --config examples/webpack/config.js --mode development --watch & serve build/examples",
"build-examples": "webpack --config examples/webpack/config.js --mode production",
"build-index": "node tasks/generate-index",
"prebuild": "npm run build-index",
"build": "rollup --config config/rollup.js",
@@ -47,9 +47,8 @@
"babel-core": "^6.26.3",
"babel-minify-webpack-plugin": "^0.3.0",
"babel-plugin-jsdoc-closure": "1.5.1",
"chaikin-smooth": "1.0.4",
"clean-css-cli": "4.1.11",
"copy-webpack-plugin": "^4.0.1",
"copy-webpack-plugin": "^4.4.1",
"coveralls": "3.0.1",
"eslint": "4.19.1",
"eslint-config-openlayers": "^9.2.0",
@@ -59,7 +58,6 @@
"glob": "^7.1.2",
"google-closure-compiler": "20180506.0.0",
"handlebars": "4.0.11",
"html-webpack-plugin": "^3.0.1",
"istanbul": "0.4.5",
"jquery": "3.3.1",
"jsdoc": "3.5.5",
@@ -86,8 +84,9 @@
"sinon": "^5.0.1",
"url-polyfill": "^1.0.13",
"walk": "^2.3.9",
"webpack": "3.11.0",
"webpack-merge": "4.1.2"
"webpack": "^4.0.0",
"webpack-cli": "^2.0.9",
"webpack-sources": "^1.1.0"
},
"eslintConfig": {
"extends": "openlayers"