mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-23 13:05:12 +01:00
Use contenthash for ExtractTextWebpackPlugin (#5462)
[hash] is not documented.
This commit is contained in:
parent
781105293c
commit
e4080772b5
@ -55,7 +55,7 @@ module.exports = {
|
|||||||
resource.request = resource.request.replace(/^history/, 'history/es');
|
resource.request = resource.request.replace(/^history/, 'history/es');
|
||||||
}
|
}
|
||||||
),
|
),
|
||||||
new ExtractTextPlugin(env.NODE_ENV === 'production' ? '[name]-[hash].css' : '[name].css'),
|
new ExtractTextPlugin(env.NODE_ENV === 'production' ? '[name]-[contenthash].css' : '[name].css'),
|
||||||
new ManifestPlugin({
|
new ManifestPlugin({
|
||||||
publicPath: output.publicPath,
|
publicPath: output.publicPath,
|
||||||
writeToFileEmit: true,
|
writeToFileEmit: true,
|
||||||
|
Loading…
Reference in New Issue
Block a user