You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
wirecake/postcss.config.js

28 lines
631 B

const cssnano = require("cssnano");
const postcss_color_mod = require("postcss-color-mod-function");
const postcss_preset_env = require("postcss-preset-env");
const postcss_Import = require("postcss-import");
const postcss_Url = require("postcss-url");
const purgecss = require("@fullhuman/postcss-purgecss");
const production = !process.env.ROLLUP_WATCH;
module.exports = {
plugins: [
postcss_Import(),
postcss_Url(),
require("tailwindcss"),
postcss_preset_env({
stage: 0,
autoprefixer: {
grid: true,
},
}),
postcss_color_mod(),
cssnano({
autoprefixer: false,
preset: ["default"],
}),
],
};