vite-plugin-linaria-styled
v1.0.2
Published
A Vite plugin for Linaria, like `@linaria/webpack-loader`
Downloads
5
Readme
vite-plugin-linaria-styled
A Vite plugin for Linaria, like @linaria/webpack-loader
📖 Please refer to the GitHub for full linaria documentation.
Installation
npm install vite-plugin-linaria-styled
or
yarn add vite-plugin-linaria-styled
Simple Configure
import linaria from 'vite-plugin-linaria-styled';
export default defineConfig({
plugins: [
linaria({
sourceMap: true,
cacheDirectory: '.linaria-cache',
extension: '.linaria.css',
}),
]
})