(!) Could not auto-determine entry point from rollupOptions or html files and there are no explicit optimizeDeps.include patterns. Skipping dependency pre-bundling.
eleven-net-cn opened this issue · 3 comments
eleven-net-cn commented
(!) Could not auto-determine entry point from rollupOptions or html files and there are no explicit optimizeDeps.include patterns. Skipping dependency pre-bundling.
eleven-net-cn commented
When I use vite-plugin-html-template, I must use optimizedeps.entries
to make the pre-build effective, eg:
{
optimizeDeps: {
entries: [
'/xxx/xxxx/index.html',
'/xxx/xxxx/main.ts',
]
}
}
Otherwise, the following message is displayed on the first startup (You can remove node_modules/.vite/deps
to reproduce the problem).
(!) Could not auto-determine entry point from rollupOptions or html files and there are no explicit optimizeDeps.include patterns. Skipping dependency pre-bundling.
IndexXuan commented
PR is Welcome. Bro
jovanyvelez commented
I see this problem when I wrote pnpm dev run. Obviously for me was a typing error when I try to launch the app!!.