mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-29 18:48:45 +08:00
9 lines
271 B
JavaScript
9 lines
271 B
JavaScript
const postcss = require('postcss');
|
|
const postcssCustomProperties = require('postcss-custom-properties');
|
|
|
|
module.exports = function (content, file) {
|
|
// console.log(content);
|
|
return postcss([postcssCustomProperties({preserve: false})]).process(content)
|
|
.css;
|
|
};
|