1.0.3 ā¢ Published 3 years ago
vite-plugin-transform-css-modules v1.0.3
vite-plugin-transform-css-modules
ššš transform not module.(css|scss|less) to css module
å®č£ (install)
yarn add vite-plugin-transform-css-modules -D
ä½æēØę¹å¼(usage)
import { defineConfig } from 'vite'
import vitePluginTransformCssModules from 'vite-plugin-transform-css-modules';
// https://vitejs.dev/config/
export default defineConfig({
...
plugins: [
vitePluginTransformCssModules()
]
})