Add webpack named modules plugin into build
We need consistent module indexes within our build to be able to use chunkhash for file names [MAILPOET-1548]
This commit is contained in:
@ -480,6 +480,7 @@ module.exports = _.map([adminConfig, publicConfig, migratorConfig, testConfig],
|
|||||||
if (config.name !== 'test') {
|
if (config.name !== 'test') {
|
||||||
config.plugins = config.plugins || [];
|
config.plugins = config.plugins || [];
|
||||||
config.plugins.push(
|
config.plugins.push(
|
||||||
|
new webpack.NamedModulesPlugin(),
|
||||||
new webpackMD5HashPlugin(),
|
new webpackMD5HashPlugin(),
|
||||||
new webpackManifestPlugin({
|
new webpackManifestPlugin({
|
||||||
cache: manifestCache
|
cache: manifestCache
|
||||||
|
Reference in New Issue
Block a user