Fix PostCSS config, convert files to tab

This commit is contained in:
Hans5958 2023-03-22 21:42:43 +07:00
parent 018ecf2e31
commit c0ad176519
3 changed files with 46 additions and 48 deletions

View file

@ -1,14 +1,12 @@
const plugins = [];
if (process.env.NODE_ENV === "production") {
plugins.push({
"@fullhuman/postcss-purgecss": {
plugins["@fullhuman/postcss-purgecss"] = {
content: [
'./dist-temp/*.{html,js,svg}',
'./dist-temp/**/*.{html,js,svg}'
]
}
})
}
module.exports = {