返回 CodeWhale
postcss.config.mjs
根目录 / web / postcss.config.mjs
1 const config = {
2 plugins: {
3 // Inline the app/styles/* partials into globals.css before Tailwind runs.
4 // Tailwind expands each file on its own and appends variant utilities
5 // (hover:, md:, ...) at the end of the file that holds `@tailwind
6 // utilities`; inlining keeps them after every partial, as they were when
7 // globals.css was one file. tokens.css stays a separate module.
8 "postcss-import": { filter: (path) => path.startsWith("./styles/") },
9 tailwindcss: {},
10 autoprefixer: {},
11 },
12 };
13
14 export default config;
15
15 lines Plain Text