Skip to content

Commit

Permalink
Update webpack to v4 (#451)
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanbuck authored and josephfrazier committed Mar 1, 2018
1 parent 03cf6a2 commit 83d3c67
Show file tree
Hide file tree
Showing 3 changed files with 1,946 additions and 135 deletions.
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"version": "json -I -f assets/manifest.json -e \"this.version='`json -f package.json version`'\" && git add assets/manifest.json",
"package": "yarn build && web-ext build --source-dir dist --artifacts-dir out --overwrite-dest",
"release": "webstore upload --source dist --auto-publish",
"build": "webpack",
"build": "webpack --mode=production",
"watch": "webpack --watch",
"chrome-open": "yarn build && yarn chrome-launch --",
"chrome-launch": "node scripts/chrome-launch.js",
Expand All @@ -37,7 +37,7 @@
"babel-preset-jest": "^22.0.3",
"chrome-launch": "^1.1.4",
"chrome-webstore-upload-cli": "^1.1.1",
"copy-webpack-plugin": "^4.1.0",
"copy-webpack-plugin": "^4.4.2",
"css-loader": "^0.28.7",
"eslint": "^4.8.0",
"eslint-config-airbnb": "^16.0.0",
Expand All @@ -56,7 +56,8 @@
"sinon": "^4.0.1",
"style-loader": "^0.19.0",
"web-ext": "^2.0.0",
"webpack": "^3.6.0"
"webpack": "^4.0.1",
"webpack-cli": "^2.0.9"
},
"optionalDependencies": {
"fsevents": "1.1.2"
Expand Down
1 change: 1 addition & 0 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ const path = require('path');
const CopyWebpackPlugin = require('copy-webpack-plugin'); // eslint-disable-line

module.exports = {
mode: 'development',
entry: {
app: './packages/core/app',
background: './packages/core/background/index',
Expand Down
Loading

0 comments on commit 83d3c67

Please sign in to comment.