Skip to content

Commit

Permalink
Missing call
Browse files Browse the repository at this point in the history
  • Loading branch information
tmeasday committed Jun 8, 2022
1 parent ff0af75 commit bdd6f61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/core-common/src/utils/to-importFn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export function toImportFn(
stories: NormalizedStoriesSpecifier[],
{ needPipelinedImport }: { needPipelinedImport?: boolean } = {}
) {
let pipelinedImport = `const pipelineImport = (x) => x;`;
let pipelinedImport = `const pipelineImport = (x) => x();`;
if (needPipelinedImport) {
// If an import is in flight when another import arrives, block it until the first completes.
// This is to avoid a situation where webpack kicks off a second compilation whilst the
Expand Down

0 comments on commit bdd6f61

Please sign in to comment.