1
0
mirror of https://github.com/jenil/chota.git synced 2023-08-10 21:13:07 +03:00
chota/postcss.config.js
Jenil Gogari 63429459f5 ↗️ upgrade deps
2019-08-18 13:41:42 -04:00

17 lines
312 B
JavaScript

let plugins = [
require("postcss-import"),
require("autoprefixer")()
];
// if (process.env.NODE_ENV == 'production') plugins.push(require("postcss-csso"))
if (process.env.NODE_ENV == "production")
plugins.push(
require("cssnano")({
preset: "default"
})
);
module.exports = {
plugins
};