shareon/postcss.config.js

20 lines
412 B
JavaScript
Raw Normal View History

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