Skip to content

Commit

Permalink
update package.json to work with webpack v4
Browse files Browse the repository at this point in the history
  • Loading branch information
petrjasek authored and devketanpro committed Aug 9, 2024
1 parent 60e2f3e commit cc1f9be
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions client/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"scripts": {
"start": "webpack-dev-server --progress --colors --content-base dist --host 0.0.0.0",
"build": "export NODE_ENV=production && webpack --progress --profile --colors"
"start": "webpack-dev-server --mode development --progress --host 0.0.0.0",
"build": "webpack --mode production --progress"
},
"dependencies": {
"newsroom-core": "github:superdesk/newsroom-core#develop"
Expand All @@ -10,7 +10,6 @@
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1",
"webpack": "3.11.0",
"webpack-dev-server": "2.11.1"
"webpack": "~4.47.0"
}
}

0 comments on commit cc1f9be

Please sign in to comment.