Tooling & bundlers
- Vite: add
igniteConfigVitePlugin()to loadignite.config.tsand inject renderer defaults. - Webpack: use
IgniteConfigWebpackPluginfor equivalent behavior. - TypeScript: set
jsxImportSource: "ignite-element/jsx"globally or use the file pragma/** @jsxImportSource ignite-element/jsx */. - Renderer entrypoints: Ignite JSX is registered by default; if you set
renderer: "lit", import'ignite-element/renderers/lit'once (plugins handle this automatically). - Adapter entrypoints: import from the adapter you use (
ignite-element/xstate,ignite-element/redux, orignite-element/mobx) to keep bundles lean. - Styles: in
ignite.config.ts, setstylesto a URL or style object. If your toolchain doesn’t supportimport.meta.url, use root-relative or CDN URLs. - Linting/formatting: use your preferred stack (ESLint/Prettier, Biome, etc.) with your package manager.
Need framework-specific snippets (React/Vue/Svelte wrappers)? We’ll expand this section as we add adapters to the examples.