How can I tell Parcel to ignore the postcss config in watch mode? #6409
-
Due to the nature of my project, I only feed the When in development, I will often change the classes used in the PHP files to apply different styles and effects but, because Parcel is not watching the PHP files, the sass compilation pipeline won't trigger and because Parcel keeps using the PostCSS configuration event in I'm using this command to
Is there a way to tell Parcel not to use PostCSS in |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
You can use a |
Beta Was this translation helpful? Give feedback.
-
Hello, Is there a way now to disable postcss plugins (here postcss-uncss) in watch mode/dev using .postcssrc file or .postcssrc.json ? Thanks, Eric PS : the warning from parceljs 2.12 when using postcss.config.js :
PS2 : the warning given when using postcss.config.js with and empty plugins list in watch/dev mode :
|
Beta Was this translation helpful? Give feedback.
You can use a
postcss.config.js
config file and useprocess.env.NODE_ENV
I think although this is pretty terrible for caching