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) {
2929 const query = loaderUtils . getOptions ( this ) || { } ;
3030 const loaders = this . loaders . slice ( this . loaderIndex + 1 ) ;
3131 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
3333 const publicPath = typeof query . publicPath === 'string' ? query . publicPath : this . _compilation . outputOptions . publicPath ;
3434 const outputOptions = {
3535 filename : childFilename ,
@@ -39,7 +39,7 @@ export function pitch(request) {
3939 childCompiler . apply ( new NodeTemplatePlugin ( outputOptions ) ) ;
4040 childCompiler . apply ( new LibraryTemplatePlugin ( null , 'commonjs2' ) ) ;
4141 childCompiler . apply ( new NodeTargetPlugin ( ) ) ;
42- childCompiler . apply ( new SingleEntryPlugin ( this . context , `!!${ request } ` ) ) ;
42+ childCompiler . apply ( new SingleEntryPlugin ( this . context , `!!${ request } ` , 'mini-css-extract-plugin' ) ) ;
4343 childCompiler . apply ( new LimitChunkCountPlugin ( { maxChunks : 1 } ) ) ;
4444 // We set loaderContext[NS] = false to indicate we already in
4545 // 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