Svelte preprocessors for the Carbon Design System
The carbon-preprocess-svelte is a collection of Svelte preprocessors for the Carbon Design System. It provides several useful features such as optimizing imports, removing unused CSS, inlining icons and pictograms, extracting headings, and including arbitrary content in the script and markup blocks.
To install the carbon-preprocess-svelte theme, you can use either Yarn, NPM, or pnpm. Here are the installation commands for each package manager:
yarn add carbon-preprocess-svelte
npm install carbon-preprocess-svelte
pnpm install carbon-preprocess-svelte
The carbon-preprocess-svelte theme is a collection of preprocessors for the Carbon Design System in Svelte. It provides various features to optimize and enhance the development experience, including rewriting imports, removing unused CSS, inlining icons and pictograms, extracting headings, and including custom content. By integrating these preprocessors into your Svelte projects, you can improve performance, maintainability, and code organization when working with the Carbon Design System.