mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-05 16:11:33 +08:00
fixes
This commit is contained in:
parent
1bfde3978e
commit
da9193981a
@ -112,7 +112,7 @@ function configure<TFramework extends AnyFramework>(
|
||||
}));
|
||||
|
||||
if (preview) {
|
||||
// This is essentially the same code as lib/core/src/server/preview/virtualModuleEntry.template
|
||||
// This is essentially the same code as lib/builder-webpack5/templates/virtualModuleEntry.template
|
||||
const {
|
||||
parameters,
|
||||
decorators,
|
||||
|
@ -122,7 +122,7 @@ export default async (
|
||||
entries.push(frameworkInitEntry);
|
||||
|
||||
const entryTemplate = await readTemplate(
|
||||
path.join(__dirname, '..', '..', 'virtualModuleEntry.template.js')
|
||||
path.join(__dirname, '..', '..', 'templates', 'virtualModuleEntry.template.js')
|
||||
);
|
||||
|
||||
previewAnnotations.forEach((previewAnnotationFilename: any) => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user