import.meta.hot.accept()
in production build
#643
Answered
by
brillout
brillout
asked this question in
Help & Questions
-
Moved from Discord:
|
Beta Was this translation helpful? Give feedback.
Answered by
brillout
Feb 11, 2023
Replies: 1 comment
-
It's only ejected if Vite's Which Vite sets to So make sure to set |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
brillout
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It's only ejected if Vite's
config.isProduction
istrue
.Which Vite sets to
true
whenprocess.env.NODE_ENV === 'production'
.So make sure to set
NODE_ENV
to'production'
.