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 c88bc51cb7 updates 🎨🔧💄🆗
* new variables
* error-success states
* striped tables
* button upgrades
* enhancements to colors and styles
* text styles
2018-07-29 17:46:04 -04:00

17 lines
343 B
JavaScript

let plugins = [
require("postcss-import"),
require("autoprefixer")({ browsers: "last 2 versions" })
];
// 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
};