mirror of
https://github.com/placeAtlas/atlas.git
synced 2024-05-19 12:44:24 +02:00
Fix PostCSS config, convert files to tab
This commit is contained in:
parent
018ecf2e31
commit
c0ad176519
|
@ -1,15 +1,13 @@
|
|||
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 = {
|
||||
plugins
|
||||
|
|
Loading…
Reference in a new issue