Skip to content

koyashiro/vite-plugin-happy-css-modules

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

f2120b4 · Dec 16, 2024
Nov 27, 2024
Jul 8, 2024
May 24, 2024
May 24, 2024
May 24, 2024
May 24, 2024
Jun 3, 2024
Aug 19, 2024
Dec 16, 2024
Dec 16, 2024
Jun 3, 2024
Jun 3, 2024
Jun 3, 2024
Jun 3, 2024

Repository files navigation

vite-plugin-happy-css-modules

NPM Version GitHub License

Vite plugin for happy-css-modules.

Installation

npm i -D happy-css-modules vite-plugin-happy-css-modules

Usage

// vite.config.js
import { defineConfig } from "vite";
import happyCssModules from "vite-plugin-happy-css-modules";

export default defineConfig({
  plugins: [happyCssModules({ pattern: "src/**/*.module.{css,scss,less}" })],
});