mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-05 06:01:22 +08:00
remove svelteOptions in sveltekit migration
This commit is contained in:
parent
964a06cf9e
commit
24d0213f9c
@ -171,6 +171,11 @@ export const sveltekitFramework: Fix<SvelteKitFrameworkRunOptions> = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (main.getFieldNode(['svelteOptions'])) {
|
||||||
|
logger.info(`✅ Removing svelteOptions field in main.js`);
|
||||||
|
main.removeField(['svelteOptions']);
|
||||||
|
}
|
||||||
|
|
||||||
if (!dryRun) {
|
if (!dryRun) {
|
||||||
await writeConfig(main);
|
await writeConfig(main);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user