Fix deprecation warning about hashes in JS production build
[MAILPOET-3214]
This commit is contained in:
committed by
Veljko V
parent
6a1344d3e2
commit
e7480abd0e
@@ -33,8 +33,8 @@ const baseConfig = {
|
|||||||
output: {
|
output: {
|
||||||
publicPath: '', // This is needed to have correct names in WebpackManifestPlugin
|
publicPath: '', // This is needed to have correct names in WebpackManifestPlugin
|
||||||
path: path.join(__dirname, 'assets/dist/js'),
|
path: path.join(__dirname, 'assets/dist/js'),
|
||||||
filename: (PRODUCTION_ENV) ? '[name].[hash:8].js' : '[name].js',
|
filename: (PRODUCTION_ENV) ? '[name].[fullhash:8].js' : '[name].js',
|
||||||
chunkFilename: (PRODUCTION_ENV) ? '[name].[hash:8].chunk.js' : '[name].chunk.js',
|
chunkFilename: (PRODUCTION_ENV) ? '[name].[fullhash:8].chunk.js' : '[name].chunk.js',
|
||||||
},
|
},
|
||||||
resolve: {
|
resolve: {
|
||||||
modules: [
|
modules: [
|
||||||
|
Reference in New Issue
Block a user