From 514ed31ca402e88307e5c4e57f57a265dab6a18c Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Fri, 13 Jan 2023 11:53:43 +0100 Subject: [PATCH] remove svlete-loader as extra dependency --- code/lib/cli/src/generators/SVELTE/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/lib/cli/src/generators/SVELTE/index.ts b/code/lib/cli/src/generators/SVELTE/index.ts index 554359d04ef9..9fcf813fef01 100644 --- a/code/lib/cli/src/generators/SVELTE/index.ts +++ b/code/lib/cli/src/generators/SVELTE/index.ts @@ -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,