Parcel@v2 clean dist plugin #5285
Unanswered
sergey-shpak
asked this question in
General
Replies: 3 comments
-
Since all the parcel@v2 plugins can be easily extended it is possible to implement plugin hooks, and then something like becomes possible:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
In theory, probably a reporter (though that runs asynchronously...). Have you seen this issue? #3591 (comment) |
Beta Was this translation helpful? Give feedback.
0 replies
-
@mischnic, no I haven't, thanks I'll take a look. 'Reporters' cannot clean dist because there is a possibility to clean all the bundled files |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently I'm using npm scripts to clean my dist directory before each build/watch/serve run, and just curious, - is it doable with some kind of parcel@v2 plugin? Moreover, what kind of plugin is most suitable for cleaning dist directory?
Beta Was this translation helpful? Give feedback.
All reactions