⚙️Process CSS tag template blocks with PostCSS.
With @atomico/vite, you will be able to analyze your CSS tag template to be optimized or to support utilities from the PostCSS ecosystem like Tailwind.

Config
import atomico from "@atomico/vite";
export default {
  plugins: atomico({
    cssLiterals: { 
      postcss: true,
      // Optional, minify the css code
      minify: true
    },
  }),
};This configuration will only work if the use of PostCSS has already been configured, either at the package.json#postcss level or in postcss.config.json.
Last updated
Was this helpful?
