@lipemat/js-boilerplate 9.2.0-beta.5 → 9.2.0-beta.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/config/webpack.dist.js +5 -2
- package/package.json +1 -1
package/config/webpack.dist.js
CHANGED
|
@@ -36,6 +36,9 @@ module.exports = {
|
|
|
36
36
|
timings: false,
|
|
37
37
|
version: false,
|
|
38
38
|
},
|
|
39
|
+
optimization: {
|
|
40
|
+
moduleIds: 'deterministic',
|
|
41
|
+
},
|
|
39
42
|
// Displays warnings of size limits.
|
|
40
43
|
performance: {
|
|
41
44
|
hints: 'warning',
|
|
@@ -48,7 +51,7 @@ module.exports = {
|
|
|
48
51
|
path: path.resolve( config.workingDirectory, 'dist' ),
|
|
49
52
|
filename: '[name].js',
|
|
50
53
|
publicPath: 'auto', // Change this if you want to use an external CDN etc.
|
|
51
|
-
chunkFilename: '[name].[
|
|
54
|
+
chunkFilename: '[name].[contenthash].js',
|
|
52
55
|
crossOriginLoading: 'anonymous',
|
|
53
56
|
},
|
|
54
57
|
resolve: {
|
|
@@ -65,7 +68,7 @@ module.exports = {
|
|
|
65
68
|
} ),
|
|
66
69
|
new MiniCssExtractPlugin( {
|
|
67
70
|
filename: '[name].css',
|
|
68
|
-
chunkFilename: '[name].[
|
|
71
|
+
chunkFilename: '[name].[contenthash].css',
|
|
69
72
|
} ),
|
|
70
73
|
new CleanWebpackPlugin( {
|
|
71
74
|
// Remove all files except the `.running` file created by "Start".
|