Skip to content
This repository was archived by the owner on Jun 3, 2019. It is now read-only.

Commit 4335ac4

Browse files
diondirzactrlplusb
authored andcommitted
Fix configuration for extracted style hash (#438)
1 parent 1f26e01 commit 4335ac4

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

internal/webpack/configFactory.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,8 @@ export default function webpackConfigFactory(buildOptions) {
193193
// to be included in the bundling process too.
194194
.concat(config('nodeExternalsFileTypeWhitelist') || []),
195195
},
196-
)),
196+
),
197+
),
197198
]),
198199

199200
plugins: removeNil([
@@ -315,7 +316,7 @@ export default function webpackConfigFactory(buildOptions) {
315316
ifProdClient(
316317
() =>
317318
new ExtractTextPlugin({
318-
filename: '[name]-[chunkhash].css',
319+
filename: '[name]-[contenthash].css',
319320
allChunks: true,
320321
}),
321322
),
@@ -412,7 +413,8 @@ export default function webpackConfigFactory(buildOptions) {
412413
query: { sourceMap: true },
413414
},
414415
],
415-
})),
416+
}),
417+
),
416418

417419
// END: HAPPY PACK PLUGINS
418420
// -----------------------------------------------------------------------

0 commit comments

Comments
 (0)