Skip to content

Commit

Permalink
Merge pull request #875 from embroider-build/improve-webpack-errors
Browse files Browse the repository at this point in the history
Improve Webpack logging output
  • Loading branch information
stefanpenner authored Jun 24, 2021
2 parents 8e07721 + 14845ed commit c7f90cc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/core/src/to-broccoli-plugin.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import Plugin from 'broccoli-plugin';
import { Packager, PackagerConstructor, Variant } from './packager';
import Stage from './stage';
import { tmpdir } from '@embroider/shared-internals';

interface BroccoliPackager<Options> {
new (stage: Stage, variants: Variant[], options?: Options): Plugin;
Expand Down Expand Up @@ -31,7 +32,7 @@ export default function toBroccoliPlugin<Options>(
outputPath,
this.outputPath,
this.variants,
msg => console.log(msg),
msg => console.log(msg.split(tmpdir).join('$TMPDIR')),
this.options
);
}
Expand Down

0 comments on commit c7f90cc

Please sign in to comment.