2022-02-10 16:20:53 -05:00
|
|
|
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("cssnano")({
|
|
|
|
preset: "default",
|
|
|
|
}),
|
|
|
|
require("autoprefixer"),
|
|
|
|
require("postcss-banner")({
|
|
|
|
banner: bannerText,
|
|
|
|
important: true,
|
|
|
|
inline: true,
|
|
|
|
}),
|
|
|
|
],
|
|
|
|
};
|