Skip to content

Can Parcel minify CSS in dev mode? #9848

Closed Answered by bramchi
bramchi asked this question in Q&A
Discussion options

You must be logged in to vote

@mrwebg Thanks for your reply.

To answer my own question: No, dev mode cannot minify CSS. That's not what it is meant for. But I found a workaround.

After some suggestions on StackOverflow, I ended up watching for file changes with the help of onchange and retriggering parcel's build command to achieve what I want.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@mrwebg
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by bramchi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants