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 @@ -29,7 +29,7 @@ export function pitch(request) {
29
29
const query = loaderUtils . getOptions ( this ) || { } ;
30
30
const loaders = this . loaders . slice ( this . loaderIndex + 1 ) ;
31
31
this . addDependency ( this . resourcePath ) ;
32
- const childFilename = 'mini-css-extract-plugin-output-filename ' ; // eslint-disable-line no-path-concat
32
+ const childFilename = '* ' ; // eslint-disable-line no-path-concat
33
33
const publicPath = typeof query . publicPath === 'string' ? query . publicPath : this . _compilation . outputOptions . publicPath ;
34
34
const outputOptions = {
35
35
filename : childFilename ,
@@ -39,7 +39,7 @@ export function pitch(request) {
39
39
childCompiler . apply ( new NodeTemplatePlugin ( outputOptions ) ) ;
40
40
childCompiler . apply ( new LibraryTemplatePlugin ( null , 'commonjs2' ) ) ;
41
41
childCompiler . apply ( new NodeTargetPlugin ( ) ) ;
42
- childCompiler . apply ( new SingleEntryPlugin ( this . context , `!!${ request } ` ) ) ;
42
+ childCompiler . apply ( new SingleEntryPlugin ( this . context , `!!${ request } ` , 'mini-css-extract-plugin' ) ) ;
43
43
childCompiler . apply ( new LimitChunkCountPlugin ( { maxChunks : 1 } ) ) ;
44
44
// We set loaderContext[NS] = false to indicate we already in
45
45
// a child compiler so we don't spawn another child compilers from there.
You can’t perform that action at this time.
0 commit comments