From 2ec7a9a56b5f7e12e2249400d39a1394843091dd Mon Sep 17 00:00:00 2001 From: umaranis Date: Sun, 5 May 2024 12:09:18 +1000 Subject: [PATCH] perf: reduce size limit after recent package upgrades --- .vscode/settings.json | 3 ++- demos/plaintext-editor/package.json | 2 +- demos/richtext-editor/package.json | 2 +- packages/svelte-lexical/package.json | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 908547aa..526df760 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -5,5 +5,6 @@ "editor.formatOnSave": true, "svelte.plugin.svelte.compilerWarnings": { "a11y-no-noninteractive-tabindex": "ignore" - } + }, + "editor.defaultFormatter": "esbenp.prettier-vscode" } diff --git a/demos/plaintext-editor/package.json b/demos/plaintext-editor/package.json index 8fcfd0d3..0f4b7102 100644 --- a/demos/plaintext-editor/package.json +++ b/demos/plaintext-editor/package.json @@ -31,7 +31,7 @@ }, "size-limit": [ { - "limit": "70 kb", + "limit": "50 kb", "path": "dist/assets/index-*.js" } ] diff --git a/demos/richtext-editor/package.json b/demos/richtext-editor/package.json index 1d3f0751..b1992991 100644 --- a/demos/richtext-editor/package.json +++ b/demos/richtext-editor/package.json @@ -31,7 +31,7 @@ }, "size-limit": [ { - "limit": "100 kb", + "limit": "95 kb", "path": "dist/assets/index-*.js" } ] diff --git a/packages/svelte-lexical/package.json b/packages/svelte-lexical/package.json index 829a4e25..b2f18b04 100644 --- a/packages/svelte-lexical/package.json +++ b/packages/svelte-lexical/package.json @@ -102,4 +102,4 @@ "y-websocket": "1.5.0", "yjs": "13.6.2" } -} \ No newline at end of file +}