Refactor Meteor-Vite configuration to be done through a Vite plugin instead of an untyped top-level property in the Vite user config.
The new configuration approach is fully optional and backwards compatible with the old config format.
Configuring Vite using meteor-vite/plugin allows you to run Vite independently of Meteor. Which can come in handy if you want to test a Vite build without having to spin up the Meteor as well.
Refactor Meteor-Vite configuration to be done through a Vite plugin instead of an untyped top-level property in the Vite user config.
The new configuration approach is fully optional and backwards compatible with the old config format.
Configuring Vite using
meteor-vite/plugin
allows you to run Vite independently of Meteor. Which can come in handy if you want to test a Vite build without having to spin up the Meteor as well.Old config
New config