Skip to content

Commit

Permalink
Merge pull request #10568 from openfoodfoundation/dependabot/npm_and_…
Browse files Browse the repository at this point in the history
…yarn/webpack-dev-server-4.12.0

Bump webpack-cli and webpack-dev-server from v3 to v4
  • Loading branch information
dacook committed Mar 21, 2023
2 parents c2133c8 + bfbcdba commit 7ad5181
Show file tree
Hide file tree
Showing 3 changed files with 508 additions and 484 deletions.
3 changes: 3 additions & 0 deletions config/webpack/development.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,7 @@ process.env.NODE_ENV = process.env.NODE_ENV || 'development'

const environment = require('./environment')

const config = environment.toWebpackConfig();
config.output.filename = "js/[name]-[hash].js";

module.exports = environment.toWebpackConfig()
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
"webpack": "~4"
},
"devDependencies": {
"@webpack-cli/serve": "*",
"husky": "^8.0.0",
"jasmine-core": "~4.6.0",
"jest": "^27.4.7",
Expand All @@ -51,7 +50,7 @@
"karma-jasmine": "~0.3.8",
"prettier": "2.8.5",
"pretty-quick": "^3.1.3",
"webpack-cli": "~3",
"webpack-dev-server": "~3"
"webpack-cli": "~4",
"webpack-dev-server": "~4"
}
}
Loading

0 comments on commit 7ad5181

Please sign in to comment.