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

2812cb3 · Mar 12, 2025
Jan 27, 2025
Jul 8, 2024
May 24, 2024
May 24, 2024
May 24, 2024
May 24, 2024
Jun 3, 2024
Aug 19, 2024
Mar 12, 2025
Mar 12, 2025
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}" })],
});