You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After #981 I got an error:
> ▲ [WARNING] "process.env.NODE_ENV" is defined as an identifier instead
of a string (surround "development" with quotes to get a string)
[suspicious-define]
According to chatgpt:
> The define option replaces expressions at build time, so it’s a
literal text substitution. That means you must pass a valid JS
expression as a string, not an identifier.
Therefore we need to pass `JSON.stringify` into the input.
0 commit comments