24 lines
629 B
JavaScript
24 lines
629 B
JavaScript
|
|
import { defineConfig } from "vite";
|
||
|
|
import react from "@vitejs/plugin-react";
|
||
|
|
import svgr from "vite-plugin-svgr";
|
||
|
|
import postcssNesting from "postcss-nesting";
|
||
|
|
import postcssImport from "postcss-import";
|
||
|
|
import postcssAtRulesVariables from "postcss-at-rules-variables";
|
||
|
|
import postcssEach from "postcss-each";
|
||
|
|
import postcssModulesValues from "postcss-modules-values";
|
||
|
|
|
||
|
|
export default defineConfig({
|
||
|
|
plugins: [react(), svgr()],
|
||
|
|
css: {
|
||
|
|
postcss: {
|
||
|
|
plugins: [
|
||
|
|
postcssNesting,
|
||
|
|
postcssImport,
|
||
|
|
postcssAtRulesVariables,
|
||
|
|
postcssEach,
|
||
|
|
postcssModulesValues,
|
||
|
|
],
|
||
|
|
},
|
||
|
|
},
|
||
|
|
});
|