File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -122,9 +122,9 @@ const development = ( config = {} ) => {
122
122
// Add /* filename */ comments to generated require()s in the output.
123
123
pathinfo : true ,
124
124
// Provide a default output name.
125
- filename : '[name].[contenthash ].js' ,
125
+ filename : '[name].[fullhash ].js' ,
126
126
// Provide chunk filename. Requires content hash for cache busting.
127
- chunkFilename : '[name].[contenthash ].chunk.js' ,
127
+ chunkFilename : '[name].[fullhash ].chunk.js' ,
128
128
// `publicPath` will be inferred as a localhost URL based on output.path
129
129
// when a devServer.port value is available.
130
130
} ,
Original file line number Diff line number Diff line change @@ -95,8 +95,8 @@ describe( 'presets', () => {
95
95
expect ( config . entry ) . toEqual ( 'some-file.js' ) ;
96
96
expect ( config . output ) . toEqual ( {
97
97
pathinfo : true ,
98
- filename : '[name].[contenthash ].js' ,
99
- chunkFilename : '[name].[contenthash ].chunk.js' ,
98
+ filename : '[name].[fullhash ].js' ,
99
+ chunkFilename : '[name].[fullhash ].chunk.js' ,
100
100
path : 'build/' ,
101
101
} ) ;
102
102
} ) ;
You can’t perform that action at this time.
0 commit comments