meteor-vite icon indicating copy to clipboard operation
meteor-vite copied to clipboard

Add warning when Vite config is loaded using CommonJS instead of ESM.

Open JorgenVatle opened this issue 6 months ago • 1 comments

If Meteor loads an app's Vite config using CommonJS, the app will break on startup with a hard to decipher error message. Since we load Vite configs before Vite, the default warning message with more useful error information is never emitted.

Related:

  • https://github.com/JorgenVatle/meteor-vite/issues/315

JorgenVatle avatar Apr 01 '25 21:04 JorgenVatle