shift73k/assets/postcss.config.cjs

24 lines
442 B
JavaScript
Raw Permalink Normal View History

2023-01-28 09:53:32 -05:00
const autoprefixer = require('autoprefixer')
const purgecss = require('@fullhuman/postcss-purgecss')
const cssnano = require('cssnano')
module.exports = {
2023-01-28 09:53:32 -05:00
plugins: [
autoprefixer,
purgecss({
content: [
"./js/**/*.js",
"../lib/*_web.ex",
"../lib/*_web/**/*.*ex"
],
safelist: {
deep: [
/^phx/
]
},
}),
cssnano({
preset: 'default',
})
],
};