mirror of https://github.com/zulip/zulip.git
12 lines
380 B
JavaScript
12 lines
380 B
JavaScript
module.exports = ({ file, options }) => ({
|
|
parser: file.extname === ".scss" ? "postcss-scss" : false,
|
|
plugins: {
|
|
// Warning: despite appearances, order is significant
|
|
"postcss-nested": {},
|
|
"postcss-extend-rule": {},
|
|
"postcss-simple-vars": {},
|
|
autoprefixer: {},
|
|
cssnano: options.env === "production" ? {} : false,
|
|
},
|
|
});
|