Modify configuration to match new version of webpacker

Error was:
```
ERROR in chunk admin [entry]
js/[name]-[contenthash].js
Cannot use [chunkhash] or [contenthash] for chunk in 'js/[name]-[contenthash].js' (use [hash] instead)
```
This commit is contained in:
Jean-Baptiste Bellet
2023-03-20 11:32:38 +01:00
parent 0632553a4a
commit bfbcdba98c

View File

@@ -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()