Postcss plugins not running?
khusseini opened this issue · 1 comments
khusseini commented
I am not sure if this is a problem with Vite or with this starter or with my implementation (latter is most probably the reason). Vite says that is automatically reads a postcss.config.js
and would apply it to the build process. I added the following to the project:
postcss.config.js
module.exports = {
plugins: {
'postcss-combine-media-query': {},
'postcss-combine-duplicated-selectors': {
},
}
}
when I open the ./dist/style.css
I see that I have some duplicated selectors and media queries. any idea what I am doing wrong here?
khusseini commented
I have posted this question in vite discussion vitejs/vite#8693