Skip to content

Commit

Permalink
chore: damaged bundle error
Browse files Browse the repository at this point in the history
  • Loading branch information
atanasster committed Jul 30, 2020
1 parent e8a99a6 commit 3679628
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion core/webpack-compile/src/utilities.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,15 @@ export const runCompiler = (
stats.compilation.outputOptions.filename,
);
console.log(
chalk.bgRgb(244, 147, 66)(`compiled ${store.stores.length} documents`),
chalk.bgRgb(
244,
147,
66,
)(
store
? `compiled ${store.stores.length} documents`
: 'error creating bundle',
),
bundleName,
);
resolve({ bundleName, stats });
Expand Down

0 comments on commit 3679628

Please sign in to comment.