By default, Vite will crawl your index.html to detect dependencies that
need to be pre-bundled. If build.rollupOptions.input is specified, Vite
will crawl those entry points instead.
If neither of these fit your needs, you can specify custom entries using
this option - the value should be a tinyglobby pattern or array of patterns
(https://github.com/SuperchupuDev/tinyglobby) that are relative from
vite project root. This will overwrite default entries inference.
OptionalExperimentalforce?: boolean
Force dep pre-optimization regardless of whether deps have changed.
By default, Vite will crawl your
index.htmlto detect dependencies that need to be pre-bundled. Ifbuild.rollupOptions.inputis specified, Vite will crawl those entry points instead.If neither of these fit your needs, you can specify custom entries using this option - the value should be a tinyglobby pattern or array of patterns (https://github.com/SuperchupuDev/tinyglobby) that are relative from vite project root. This will overwrite default entries inference.