vite-plugin-vercel 11.0.0-beta.15 → 11.0.0-beta.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/vite.js +4 -1
- package/package.json +1 -1
package/dist/vite.js
CHANGED
|
@@ -630,7 +630,10 @@ export default def;`;
|
|
|
630
630
|
const entries = dedupeRoutes().filter((e) => (e.vercel?.edge ?? false) === isEdge);
|
|
631
631
|
return { build: { rollupOptions: {
|
|
632
632
|
input: Object.fromEntries(entries.map((e) => [entryDestination(root ?? process.cwd(), e, ".func/index"), isEdge ? `${e.id}?vercel_edge` : `${e.id}?vercel_node`])),
|
|
633
|
-
output: {
|
|
633
|
+
output: {
|
|
634
|
+
hoistTransitiveImports: false,
|
|
635
|
+
entryFileNames: "[name].js"
|
|
636
|
+
}
|
|
634
637
|
} } };
|
|
635
638
|
}
|
|
636
639
|
}
|