@cloudflare/vite-plugin 1.26.0 → 1.27.0
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/index.mjs
CHANGED
|
@@ -23172,7 +23172,7 @@ async function cleanupDuplicateImageTags(dockerPath, imageTag) {
|
|
|
23172
23172
|
|
|
23173
23173
|
//#endregion
|
|
23174
23174
|
//#region ../containers-shared/src/images.ts
|
|
23175
|
-
const DEFAULT_CONTAINER_EGRESS_INTERCEPTOR_IMAGE = "cloudflare/proxy-everything:
|
|
23175
|
+
const DEFAULT_CONTAINER_EGRESS_INTERCEPTOR_IMAGE = "cloudflare/proxy-everything:3f5e832@sha256:816255f5b6ebdc2cdcddb578d803121e7ee9cfe178442da07725d75a66cdcf37";
|
|
23176
23176
|
function getEgressInterceptorImage() {
|
|
23177
23177
|
return process.env.MINIFLARE_CONTAINER_EGRESS_IMAGE ?? DEFAULT_CONTAINER_EGRESS_INTERCEPTOR_IMAGE;
|
|
23178
23178
|
}
|
|
@@ -23261,7 +23261,7 @@ async function prepareContainerImagesForDev(args) {
|
|
|
23261
23261
|
await checkExposedPorts(dockerPath, options);
|
|
23262
23262
|
}
|
|
23263
23263
|
}
|
|
23264
|
-
if (!aborted
|
|
23264
|
+
if (!aborted) await pullEgressInterceptorImage(dockerPath);
|
|
23265
23265
|
}
|
|
23266
23266
|
|
|
23267
23267
|
//#endregion
|
|
@@ -26363,8 +26363,7 @@ const devPlugin = createPlugin("dev", (ctx) => {
|
|
|
26363
26363
|
onContainerImagePreparationStart: () => {},
|
|
26364
26364
|
onContainerImagePreparationEnd: () => {},
|
|
26365
26365
|
logger: viteDevServer.config.logger,
|
|
26366
|
-
isVite: true
|
|
26367
|
-
compatibilityFlags: ctx.allWorkerConfigs.flatMap((c) => c.compatibility_flags)
|
|
26366
|
+
isVite: true
|
|
26368
26367
|
});
|
|
26369
26368
|
containerImageTags = new Set(containerTagToOptionsMap.keys());
|
|
26370
26369
|
viteDevServer.config.logger.info(import_picocolors$2.default.dim(import_picocolors$2.default.yellow("\n⚡️ Containers successfully built. To rebuild your containers during development, restart the Vite dev server (r + enter).")));
|
|
@@ -26614,8 +26613,7 @@ const previewPlugin = createPlugin("preview", (ctx) => {
|
|
|
26614
26613
|
onContainerImagePreparationStart: () => {},
|
|
26615
26614
|
onContainerImagePreparationEnd: () => {},
|
|
26616
26615
|
logger: vitePreviewServer.config.logger,
|
|
26617
|
-
isVite: true
|
|
26618
|
-
compatibilityFlags: ctx.allWorkerConfigs.flatMap((c) => c.compatibility_flags)
|
|
26616
|
+
isVite: true
|
|
26619
26617
|
});
|
|
26620
26618
|
const containerImageTags = new Set(containerTagToOptionsMap.keys());
|
|
26621
26619
|
vitePreviewServer.config.logger.info(import_picocolors$1.default.dim(import_picocolors$1.default.yellow("\n⚡️ Containers successfully built.\n")));
|