mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 14:15:13 +00:00
fix(extractCSS): provide chunkFilename option
This commit is contained in:
parent
7f6b7d8588
commit
ec5bdd98e3
@ -220,7 +220,8 @@ export default class WebpackBaseConfig {
|
||||
// So we use css-loader/locals as a fallback (utils/style-loader)
|
||||
if (this.options.build.extractCSS && !this.isServer) {
|
||||
plugins.push(new MiniCssExtractPlugin(Object.assign({
|
||||
filename: this.getFileName('css')
|
||||
filename: this.getFileName('css'),
|
||||
chunkFilename: this.getFileName('css')
|
||||
}, this.options.build.extractCSS)))
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user