diff --git a/lib/core-common/src/utils/to-importFn.ts b/lib/core-common/src/utils/to-importFn.ts index 3bc59a9b8408..5bb22efacfcc 100644 --- a/lib/core-common/src/utils/to-importFn.ts +++ b/lib/core-common/src/utils/to-importFn.ts @@ -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 );