@cloudflare/vite-plugin 1.47.0 → 1.49.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/cf-vite.mjs +2 -2
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +2710 -2497
- package/dist/index.mjs.map +1 -1
- package/dist/{open-PBXRGS4R-7GUxLVbA.mjs → open-PBXRGS4R-MlJKk7qC.mjs} +4 -4
- package/dist/open-PBXRGS4R-MlJKk7qC.mjs.map +1 -0
- package/dist/{package-BLNl995h.mjs → package-C83UUGrA.mjs} +3 -2
- package/dist/package-C83UUGrA.mjs.map +1 -0
- package/dist/workers/runner-worker/index.js +11 -5
- package/dist/workers/runner-worker/module-runner.js +20 -16
- package/package.json +12 -11
- package/dist/open-PBXRGS4R-7GUxLVbA.mjs.map +0 -1
- package/dist/package-BLNl995h.mjs.map +0 -1
package/dist/cf-vite.mjs
CHANGED
|
@@ -4,7 +4,7 @@ import { createBuilder, createServer } from "vite";
|
|
|
4
4
|
//#region src/build-output-env.ts
|
|
5
5
|
/**
|
|
6
6
|
* Shared definition of the internal env var that the `cf-vite build`
|
|
7
|
-
* delegate uses to force the experimental Build Output
|
|
7
|
+
* delegate uses to force the experimental Build Output Specification on by default.
|
|
8
8
|
*/
|
|
9
9
|
const FORCE_BUILD_OUTPUT_ENV_VAR = "CLOUDFLARE_VITE_FORCE_BUILD_OUTPUT";
|
|
10
10
|
|
|
@@ -21,7 +21,7 @@ const FORCE_BUILD_OUTPUT_ENV_VAR = "CLOUDFLARE_VITE_FORCE_BUILD_OUTPUT";
|
|
|
21
21
|
* Unknown/missing verbs exit 2 (also the parent's version-detection
|
|
22
22
|
* signal).
|
|
23
23
|
*
|
|
24
|
-
* Every verb forces the experimental Build Output
|
|
24
|
+
* Every verb forces the experimental Build Output Specification on by default by
|
|
25
25
|
* setting `CLOUDFLARE_VITE_FORCE_BUILD_OUTPUT` in `main()` before Vite
|
|
26
26
|
* loads the user's config; the plugin reads it during config resolution
|
|
27
27
|
* to enable `experimental.newConfig` + `experimental.newConfig.cfBuildOutput`.
|
package/dist/index.d.mts
CHANGED
|
@@ -115,7 +115,7 @@ interface ExperimentalNewConfig {
|
|
|
115
115
|
includeRuntime?: boolean;
|
|
116
116
|
};
|
|
117
117
|
/**
|
|
118
|
-
* Whether to emit the experimental Build Output
|
|
118
|
+
* Whether to emit the experimental Build Output Specification (`.cloudflare/output/v0/`)
|
|
119
119
|
* intended for consumption by the new `cf` CLI.
|
|
120
120
|
*/
|
|
121
121
|
cfBuildOutput?: boolean;
|