mirror of
https://github.com/jenil/chota.git
synced 2023-08-10 21:13:07 +03:00
17 lines
312 B
JavaScript
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
|
|
};
|