Authored by 陈峰

postcss

... ... @@ -73,6 +73,7 @@
"postcss-center": "^1.0.0",
"postcss-clearfix": "^1.0.0",
"postcss-crip": "^2.0.1",
"postcss-import": "^9.0.0",
"postcss-loader": "^1.1.1",
"postcss-position": "^0.5.0",
"postcss-pxtorem": "^3.3.1",
... ...
... ... @@ -103,6 +103,12 @@ const postcssPlugin = (et) => {
}
plugins = [
require('postcss-import')({
load (filename, importOptions) {
console.log(filename)
console.log(importOptions)
}
}),
require('precss'),
require('postcss-sprites').default(sprites),
require('postcss-assets')(assets),
... ...