mirror of
https://github.com/placeAtlas/atlas.git
synced 2024-06-11 07:50:01 +02:00
Fix PostCSS config, convert files to tab
This commit is contained in:
parent
018ecf2e31
commit
c0ad176519
|
@ -1,15 +1,13 @@
|
||||||
const plugins = [];
|
const plugins = [];
|
||||||
|
|
||||||
if (process.env.NODE_ENV === "production") {
|
if (process.env.NODE_ENV === "production") {
|
||||||
plugins.push({
|
plugins["@fullhuman/postcss-purgecss"] = {
|
||||||
"@fullhuman/postcss-purgecss": {
|
|
||||||
content: [
|
content: [
|
||||||
'./dist-temp/*.{html,js,svg}',
|
'./dist-temp/*.{html,js,svg}',
|
||||||
'./dist-temp/**/*.{html,js,svg}'
|
'./dist-temp/**/*.{html,js,svg}'
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
})
|
}
|
||||||
}
|
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
plugins
|
plugins
|
||||||
|
|
Loading…
Reference in a new issue