2017-11-16 01:14:48 +03:00
|
|
|
let plugins = [
|
|
|
|
require("postcss-import"),
|
2019-08-18 20:41:42 +03:00
|
|
|
require("autoprefixer")()
|
2017-11-16 01:14:48 +03:00
|
|
|
];
|
|
|
|
|
2018-07-30 00:45:05 +03:00
|
|
|
// if (process.env.NODE_ENV == 'production') plugins.push(require("postcss-csso"))
|
|
|
|
if (process.env.NODE_ENV == "production")
|
|
|
|
plugins.push(
|
|
|
|
require("cssnano")({
|
|
|
|
preset: "default"
|
|
|
|
})
|
|
|
|
);
|
2017-11-16 01:14:48 +03:00
|
|
|
|
2022-02-05 01:44:31 +03:00
|
|
|
if (process.env.VARIANT == "100")
|
|
|
|
plugins.push(
|
|
|
|
require("postcss-revert-rem-size")({})
|
|
|
|
);
|
|
|
|
|
2017-11-16 01:14:48 +03:00
|
|
|
module.exports = {
|
|
|
|
plugins
|
2018-07-30 00:45:05 +03:00
|
|
|
};
|