vite build - how to preserve js comments? #2590
DaveO-Home
started this conversation in
General
Replies: 1 comment
-
Found this for esbuild - when using esbuild all comments are stripped... |
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
-
When I run
vite build
even withminify: false
and or--mode=development
all comments are stripped. I don't think rollup deletes by default. I need the comments to strip development code in final build. Using Vue3/Vite2.Beta Was this translation helpful? Give feedback.
All reactions