@static-styled-plugin/vite-plugin
v0.3.2
Published
A plugin that makes styled-components zero-runtime.
Downloads
1
Maintainers
Readme
static-styled-plugin
A plugin that makes styled-components zero-runtime.
Installation
npm install @static-styled-plugin/vite-plugin
Setup
// vite.config.js
import { staticStyled } from '@static-styled-plugin/vite-plugin'
export default defineConfig({
plugins: [react(), staticStyled({ themeFilePath: './src/theme.ts' })],
})