shareon/postcss.config.js

22 lines
426 B
JavaScript
Raw Permalink Normal View History

2022-02-10 15:44:22 -05:00
const pkg = require("./package.json");
const bannerText = `${pkg.name} v${pkg.version}`;
module.exports = {
map: {
inline: false,
},
plugins: [
require("postcss-css-variables"),
require("postcss-calc"),
require("cssnano")({
preset: "default",
}),
require("autoprefixer"),
require("postcss-banner")({
banner: bannerText,
important: true,
inline: true,
}),
],
};