OptionalexternalOptionalfallbackTry to guess the CJS version of a package when it's invalid ESM
OptionalinlineVite will process inlined modules.
This could be helpful to handle packages that ship .js in ESM format (that Node can't handle).
If true, every dependency will be inlined
Externalize means that Vite will bpass the package to native Node.
Externalized dependencies will not be applied Vite's transformers and resolvers. And does not support HMR on reload.
Typically, packages under
node_modulesare externalized.