Skip to content

Commit

Permalink
Merge pull request #16513 from storybookjs/feature/story-prefetch
Browse files Browse the repository at this point in the history
Core: Improve webpack chunk names
  • Loading branch information
shilman authored Nov 2, 2021
2 parents f161aaa + 9170830 commit 613aa0f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/core-common/src/utils/to-importFn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export function toImportFnPart(specifier: NormalizedStoriesSpecifier) {
const pathRemainder = path.substring(${directory.length + 1});
return import(
/* webpackChunkName: "[request]" */
/* webpackInclude: ${webpackIncludeRegexp(specifier)} */
'${directory}/' + pathRemainder
);
Expand Down

0 comments on commit 613aa0f

Please sign in to comment.