mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-07 05:21:06 +08:00
remove svlete-loader as extra dependency
This commit is contained in:
parent
94bdf0909f
commit
514ed31ca4
@ -3,7 +3,7 @@ import { baseGenerator } from '../baseGenerator';
|
||||
import type { Generator } from '../types';
|
||||
|
||||
const generator: Generator = async (packageManager, npmOptions, options) => {
|
||||
const extraPackages = options.builder === CoreBuilder.Webpack5 ? ['svelte', 'svelte-loader'] : [];
|
||||
const extraPackages = options.builder === CoreBuilder.Webpack5 ? ['svelte'] : [];
|
||||
|
||||
await baseGenerator(packageManager, npmOptions, options, 'svelte', {
|
||||
extraPackages,
|
||||
|
Loading…
x
Reference in New Issue
Block a user