Skip to content

Commit 1598fe0

Browse files
committed
more pretty stats output
1 parent fc1077c commit 1598fe0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/loader.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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.

0 commit comments

Comments
 (0)