mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 18:01:06 +00:00
docs: add pnpm install command for carbon-preprocess-svelte
This commit is contained in:
parent
32edfa59dd
commit
84d6778036
1 changed files with 6 additions and 0 deletions
|
@ -196,6 +196,12 @@ yarn add -D carbon-preprocess-svelte
|
|||
npm i -D carbon-preprocess-svelte
|
||||
```
|
||||
|
||||
**pnpm**
|
||||
|
||||
```sh
|
||||
pnpm i -D carbon-preprocess-svelte
|
||||
```
|
||||
|
||||
### `optimizeImports`
|
||||
|
||||
`optimizeImports` is a script preprocessor that rewrites base imports from Carbon components/icons/pictograms packages to their source Svelte code paths. This can greatly speed up compile times during development while preserving typeahead and autocompletion hinting offered by integrated development environments (IDE) like VSCode.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue