remove svlete-loader as extra dependency

This commit is contained in:
Norbert de Langen 2023-01-13 11:53:43 +01:00
parent 94bdf0909f
commit 514ed31ca4
No known key found for this signature in database
GPG Key ID: FD0E78AF9A837762

View File

@ -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,