mirror of
https://github.com/placeAtlas/atlas.git
synced 2024-11-09 19:46:13 +01:00
19 lines
No EOL
355 B
JavaScript
19 lines
No EOL
355 B
JavaScript
const plugins = [];
|
|
|
|
if (process.env.NODE_ENV === "production") {
|
|
plugins.push(
|
|
require("@fullhuman/postcss-purgecss")({
|
|
content: [
|
|
'./dist-temp/*.html',
|
|
'./dist-temp/**/*.html',
|
|
'./dist-temp/**/*.js',
|
|
'./dist-temp/*.svg',
|
|
'./dist-temp/**/*.svg'
|
|
]
|
|
})
|
|
);
|
|
}
|
|
|
|
module.exports = {
|
|
plugins
|
|
}; |