Skip to content

Commit

Permalink
Use the default webpack configuration for dev env
Browse files Browse the repository at this point in the history
We used to override the output filename but this was a misunderstanding of an error (due to webpacke(r) incompatibles versions)

https://medium.com/@web_developer/hash-vs-chunkhash-vs-contenthash-e94d38a32208

webpack/webpack.js.org#2096

Context: openfoodfoundation#10631 (review)
  • Loading branch information
jibees committed May 3, 2023
1 parent 62c2d9a commit 2d7356f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions config/webpack/development.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,4 @@ 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()

0 comments on commit 2d7356f

Please sign in to comment.