Replies: 1 comment 4 replies
-
Maybe try conditional import of ES modules? https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/import |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there perhaps a way to make it so that the debug stays enabled in production, but not in production for any bundler (not just ViteJS)? I've tried choosing strings conditionally in ViteJS, but that doesn't seem to do the trick.
Beta Was this translation helpful? Give feedback.
All reactions