amis/scripts/scss-ie11.js

9 lines
271 B
JavaScript
Raw Normal View History

2020-12-29 13:06:53 +08:00
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;
};