traceless-style npm package offers zero-config CSS extraction for major JS frameworks
The traceless-style package is now available on npm and can be installed via npm, pnpm, or yarn with no required runtime dependencies. It ships pre-built with no postinstall step, and an optional @swc/core dependency is auto-loaded for projects with 100 or more source files. The package supports major bundlers and frameworks including Next.js, Vite, Webpack, Rollup, and esbuild through dedicated integration sub-packages. Developers can use the npx traceless-style init scaffolder to automatically detect their framework, configure the bundler plugin, and set up project files without manual edits. Linting is enabled by default to reject inline styles and bare class strings, with options to disable individual rules via a config file.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in