Replies: 1 comment 1 reply
-
We plan to update Chalk in Babel 8, but I suggest reporting this bug to Vite (if they aren't aware of it yet). Even when bundling an old package, the resulting bundle should not be broken. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Reported previously at sindresorhus/parse-json#35 but turned out to be problem in
@babel/code-frame
.I got error
TypeError: Cannot read properties of undefined (reading 'close')
after running Vite build using this package. Error traced to:it works fine in Vite DEV demo. I guess it's because this package is referencing very old chalk 2.x which Vite does not optimizes well.
Any plan for updating chalk to a new version?
Beta Was this translation helpful? Give feedback.
All reactions