mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-07 21:41:46 +08:00
fixes
This commit is contained in:
parent
1bfde3978e
commit
da9193981a
@ -112,7 +112,7 @@ function configure<TFramework extends AnyFramework>(
|
|||||||
}));
|
}));
|
||||||
|
|
||||||
if (preview) {
|
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 {
|
const {
|
||||||
parameters,
|
parameters,
|
||||||
decorators,
|
decorators,
|
||||||
|
@ -122,7 +122,7 @@ export default async (
|
|||||||
entries.push(frameworkInitEntry);
|
entries.push(frameworkInitEntry);
|
||||||
|
|
||||||
const entryTemplate = await readTemplate(
|
const entryTemplate = await readTemplate(
|
||||||
path.join(__dirname, '..', '..', 'virtualModuleEntry.template.js')
|
path.join(__dirname, '..', '..', 'templates', 'virtualModuleEntry.template.js')
|
||||||
);
|
);
|
||||||
|
|
||||||
previewAnnotations.forEach((previewAnnotationFilename: any) => {
|
previewAnnotations.forEach((previewAnnotationFilename: any) => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user