vite-plugin-vercel 11.0.0-beta.6 → 11.0.0-beta.7
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 +2 -1
- package/package.json +1 -1
package/dist/vite.js
CHANGED
|
@@ -170,6 +170,7 @@ const reactEdgePlugin$1 = {
|
|
|
170
170
|
}
|
|
171
171
|
};
|
|
172
172
|
function basicBundlePlugin(pluginConfig) {
|
|
173
|
+
const envNames = getBuildEnvNames(pluginConfig);
|
|
173
174
|
const bundledAssets = /* @__PURE__ */ new Map();
|
|
174
175
|
const bundledChunks = [];
|
|
175
176
|
return [{
|
|
@@ -189,7 +190,7 @@ function basicBundlePlugin(pluginConfig) {
|
|
|
189
190
|
fileName: b.fileName
|
|
190
191
|
};
|
|
191
192
|
for (const originalFileName of originalFileNames) bundledAssets.set(originalFileName, asset);
|
|
192
|
-
} else bundledChunks.push(outFile);
|
|
193
|
+
} else if (this.environment.name === envNames.edge || this.environment.name === envNames.node) bundledChunks.push(outFile);
|
|
193
194
|
}
|
|
194
195
|
},
|
|
195
196
|
closeBundle: {
|