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
I'm seeing the following console warning when loading my app that uses vanilla-jsoneditor (2.3.2), bundled using Vite.
If bundling, conditions should include development or production. If not bundling, conditions or NODE_ENV should include development or production. See https://www.npmjs.com/package/esm-env for tips on setting conditions in popular bundlers and runtimes.
That warning points to esm-env, which is used by svelte, which is used by vanilla-jsoneditor.
Any thoughts on how I can address that warning?
Thanks!
The text was updated successfully, but these errors were encountered:
Yeah, I noticed it myself too, after updating the vite and svelte dependencies. I had to add some extra configuration in the Rollup config that creates the vanilla bundle.
I'm seeing the following console warning when loading my app that uses vanilla-jsoneditor (2.3.2), bundled using Vite.
If bundling, conditions should include development or production. If not bundling, conditions or NODE_ENV should include development or production. See https://www.npmjs.com/package/esm-env for tips on setting conditions in popular bundlers and runtimes.
That warning points to esm-env, which is used by svelte, which is used by vanilla-jsoneditor.
Any thoughts on how I can address that warning?
Thanks!
The text was updated successfully, but these errors were encountered: