I want CSS tree shaking.
Without using VUE it works well by using purgecss-webpack-plugin.
But i want VUE supporting CSS tree shaking,so I choose postcss-purgecss.But STILL DON'T WORK
here is my postcss.config.js
const path = require("path");
module.exports = {
plugins: [
require("@fullhuman/postcss-purgecss")({
content: [
path.join(__dirname, './src/views/*.vue'),
],
}),
....
]
};