mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-25 20:46:48 +00:00
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 https://github.com/webpack/webpack.js.org/issues/2096 Context: https://github.com/openfoodfoundation/openfoodnetwork/pull/10631#pullrequestreview-1410083331
6 lines
155 B
JavaScript
6 lines
155 B
JavaScript
process.env.NODE_ENV = process.env.NODE_ENV || 'development'
|
|
|
|
const environment = require('./environment')
|
|
|
|
module.exports = environment.toWebpackConfig()
|