update webpack

jh-changes
Shin'ya Ueoka 7 years ago
parent 6250945368
commit 749d71e8e5
  1. 21561
      package-lock.json
  2. 15
      package.json
  3. 2
      webpack.config.js

21561
package-lock.json generated

File diff suppressed because it is too large Load Diff

@ -2,14 +2,14 @@
"name": "vim-vixen", "name": "vim-vixen",
"description": "Vim vixen", "description": "Vim vixen",
"scripts": { "scripts": {
"start": "webpack -w --debug --devtool inline-source-map", "start": "webpack --mode development -w --debug --devtool inline-source-map",
"build": "NODE_ENV=production webpack --progress --display-error-details", "build": "NODE_ENV=production webpack --mode production --progress --display-error-details",
"package": "npm run build && script/package.sh", "package": "npm run build && script/package.sh",
"lint": "eslint --ext .jsx,.js src e2e/ambassador/src", "lint": "eslint --ext .jsx,.js src e2e/ambassador/src",
"test": "karma start", "test": "karma start",
"test:e2e": "karma start e2e/karma.conf.js", "test:e2e": "karma start e2e/karma.conf.js",
"ambassador:start": "webpack -w --debug --context e2e/ambassador --config e2e/ambassador/webpack.config.js --devtool inline-source-map", "ambassador:start": "webpack --mode production -w --debug --context e2e/ambassador --config e2e/ambassador/webpack.config.js --devtool inline-source-map",
"ambassador:build": "webpack --context e2e/ambassador --config e2e/ambassador/webpack.config.js" "ambassador:build": "webpack --mode production --context e2e/ambassador --config e2e/ambassador/webpack.config.js"
}, },
"repository": { "repository": {
"type": "git", "type": "git",
@ -31,20 +31,21 @@
"css-loader": "^0.28.10", "css-loader": "^0.28.10",
"eslint": "^4.7.0", "eslint": "^4.7.0",
"eslint-plugin-react": "^7.4.0", "eslint-plugin-react": "^7.4.0",
"html-webpack-plugin": "^2.30.1", "html-webpack-plugin": "^3.0.6",
"karma": "^2.0.0", "karma": "^2.0.0",
"karma-firefox-launcher": "^1.0.1", "karma-firefox-launcher": "^1.0.1",
"karma-html2js-preprocessor": "^1.1.0", "karma-html2js-preprocessor": "^1.1.0",
"karma-mocha": "^1.3.0", "karma-mocha": "^1.3.0",
"karma-mocha-reporter": "^2.2.3", "karma-mocha-reporter": "^2.2.3",
"karma-sourcemap-loader": "^0.3.7", "karma-sourcemap-loader": "^0.3.7",
"karma-webpack": "^2.0.4", "karma-webpack": "^2.0.13",
"mocha": "^5.0.0", "mocha": "^5.0.0",
"node-sass": "^4.5.3", "node-sass": "^4.5.3",
"preact": "^8.2.6", "preact": "^8.2.6",
"sass-loader": "^6.0.7", "sass-loader": "^6.0.7",
"style-loader": "^0.20.3", "style-loader": "^0.20.3",
"web-ext": "github:ueokande/web-ext#patched-2.4.0", "web-ext": "github:ueokande/web-ext#patched-2.4.0",
"webpack": "^3.5.3" "webpack": "^4.1.1",
"webpack-cli": "^2.0.11"
} }
} }

@ -18,7 +18,7 @@ config = {
}, },
module: { module: {
loaders: [ rules: [
{ {
test: [ /\.js$/, /\.jsx$/ ], test: [ /\.js$/, /\.jsx$/ ],
exclude: /node_modules/, exclude: /node_modules/,