This commit is contained in:
Andreas Henriksson 2024-03-28 13:38:37 +01:00
commit 199c211e1d
2 changed files with 0 additions and 3 deletions

View file

@ -192,7 +192,6 @@ pnpm i -D carbon-preprocess-svelte
### `optimizeImports`
`optimizeImports` is a Svelte preprocessor that rewrites barrel imports from Carbon components/icons/pictograms packages to their source Svelte code paths. This can significantly speed up development and production build compile times while preserving typeahead and autocompletion offered by integrated development environments (IDE) like VS Code.
`optimizeImports` is a Svelte preprocessor that rewrites barrel imports from Carbon components/icons/pictograms packages to their source Svelte code paths. This can significantly speed up development and production build compile times while preserving typeahead and autocompletion offered by integrated development environments (IDE) like VS Code.
The preprocessor optimizes imports from the following packages:

View file

@ -141,8 +141,6 @@
$$props["aria-label"] ||
"Numeric input field with increment and decrement buttons";
//$: value && !!changeCaretPosition;
function parse(raw) {
return raw != "" ? Number(raw) : null;
}