From bb0151437d37fc5b4a9f8525724f1acabf65dc7d Mon Sep 17 00:00:00 2001 From: GrygrFlzr Date: Mon, 15 Mar 2021 08:14:12 +0700 Subject: [PATCH] create-svelte: Actually fix component => lib transition (#529) --- .changeset/rotten-singers-taste.md | 5 +++++ packages/create-svelte/cli/modifications/add_css.js | 4 ++-- packages/create-svelte/cli/modifications/add_typescript.js | 2 +- packages/create-svelte/ts-template/tsconfig.json | 2 +- 4 files changed, 9 insertions(+), 4 deletions(-) create mode 100644 .changeset/rotten-singers-taste.md diff --git a/.changeset/rotten-singers-taste.md b/.changeset/rotten-singers-taste.md new file mode 100644 index 000000000000..5cf4be0c3d6c --- /dev/null +++ b/.changeset/rotten-singers-taste.md @@ -0,0 +1,5 @@ +--- +'create-svelte': patch +--- + +Actually fix $component => $lib transition diff --git a/packages/create-svelte/cli/modifications/add_css.js b/packages/create-svelte/cli/modifications/add_css.js index 9d218349a2ab..5b73da8bfdf4 100644 --- a/packages/create-svelte/cli/modifications/add_css.js +++ b/packages/create-svelte/cli/modifications/add_css.js @@ -9,7 +9,7 @@ export default async function add_css(cwd, which) { less: '^3.0.0', 'svelte-preprocess': '^4.0.0' }); - update_component(cwd, 'src/components/Counter.svelte', [['