File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -201,7 +201,7 @@ class MiniCssExtractPlugin {
201201 compilation . runtimeTemplate . requestShortener
202202 ) ,
203203 filenameTemplate : ( { chunk : chunkData } ) => {
204- return theme === 'default' ? `${ this . options . moduleFilename ( chunkData ) } ` : `${ theme } -${ this . options . moduleFilename ( chunkData ) } `
204+ return theme === 'default' ? `${ this . options . moduleFilename ( chunkData ) } ` : `theme-${ theme } .css `
205205 } ,
206206 pathOptions : {
207207 chunk,
@@ -231,7 +231,7 @@ class MiniCssExtractPlugin {
231231 renderedModules ,
232232 compilation . runtimeTemplate . requestShortener
233233 ) ,
234- filenameTemplate : theme === 'default' ? this . options . chunkFilename : theme + this . options . chunkFilename ,
234+ filenameTemplate : theme === 'default' ? this . options . chunkFilename : ` theme- ${ theme } - ${ this . options . chunkFilename } .css` ,
235235 pathOptions : {
236236 chunk,
237237 contentHashType : MODULE_TYPE ,
You can’t perform that action at this time.
0 commit comments