1.0.3 ā€¢ Published 3 years ago

vite-plugin-transform-css-modules v1.0.3

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

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()
  ]
})

例子(example)

https://github.com/Summer-andy/vite-react-template

1.0.2

3 years ago

1.0.3

3 years ago

1.0.1

4 years ago

1.0.0

4 years ago