process.env.NODE_ENV doesnt work in .eslint.js when using vite #16528
Unanswered
Mr-Nobody-li
asked this question in
Q&A
Replies: 2 comments 2 replies
-
This is likely not a problem with ESLint and also on a note if |
Beta Was this translation helpful? Give feedback.
2 replies
-
Did you get an answer to this? |
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
-
I don't know whether this is a bug or whether there are other ways to judge the environment for vite
I found this cannot work because i cannot get
process.env.NODE_ENV
I was wondering whether it was unnecessary to write like this, after all, the production environment could not use eslinlt
Beta Was this translation helpful? Give feedback.
All reactions