Skip to content
This repository has been archived by the owner on Nov 26, 2024. It is now read-only.

🌈🌈🌈 transform not module.(css|scss|less) to css module

License

Notifications You must be signed in to change notification settings

Summer-andy/vite-plugin-transform-css-modules

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

🌈🌈🌈 transform not module.(css|scss|less) to css module

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published