zitejs 0.9.21 → 0.9.23
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/cjs/bundle/index.js
CHANGED
|
@@ -250,10 +250,8 @@ function createAliasPlugin(opts) {
|
|
|
250
250
|
}
|
|
251
251
|
return { path: 'zitejs/db', external: true };
|
|
252
252
|
});
|
|
253
|
-
//
|
|
254
|
-
|
|
255
|
-
return { path: 'zitejs/runtime', external: true };
|
|
256
|
-
});
|
|
253
|
+
// zitejs/runtime is NOT in PREBUNDLED_LIBS — it's a thin fetch()
|
|
254
|
+
// wrapper that gets bundled inline by esbuild (no special handling).
|
|
257
255
|
for (const [pkgName, modulePath] of Object.entries(PREBUNDLED_LIBS)) {
|
|
258
256
|
const escapedName = pkgName.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
|
|
259
257
|
const filter = new RegExp(`^${escapedName}$`);
|
package/dist/esm/bundle/index.js
CHANGED
|
@@ -214,10 +214,8 @@ function createAliasPlugin(opts) {
|
|
|
214
214
|
}
|
|
215
215
|
return { path: 'zitejs/db', external: true };
|
|
216
216
|
});
|
|
217
|
-
//
|
|
218
|
-
|
|
219
|
-
return { path: 'zitejs/runtime', external: true };
|
|
220
|
-
});
|
|
217
|
+
// zitejs/runtime is NOT in PREBUNDLED_LIBS — it's a thin fetch()
|
|
218
|
+
// wrapper that gets bundled inline by esbuild (no special handling).
|
|
221
219
|
for (const [pkgName, modulePath] of Object.entries(PREBUNDLED_LIBS)) {
|
|
222
220
|
const escapedName = pkgName.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
|
|
223
221
|
const filter = new RegExp(`^${escapedName}$`);
|