diff --git a/code/lib/cli/src/generators/SVELTE/index.ts b/code/lib/cli/src/generators/SVELTE/index.ts index 554359d04ef9..9639d5b5053a 100644 --- a/code/lib/cli/src/generators/SVELTE/index.ts +++ b/code/lib/cli/src/generators/SVELTE/index.ts @@ -1,12 +1,8 @@ -import { CoreBuilder } from '../../project_types'; 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'] : []; - await baseGenerator(packageManager, npmOptions, options, 'svelte', { - extraPackages, extensions: ['js', 'jsx', 'ts', 'tsx', 'svelte'], commonJs: true, });