Development modules are minifed in Vite #1874
andelkocvjetkovic
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I am using the headlessui/react package and Vite.
import { Menu } from '@headlessui/react';
files that are imported in development are minified and really hard to debug.
So my question is, why not use the minified version just in production and leave the development version as it is in source files ?
Beta Was this translation helpful? Give feedback.
All reactions