@nuxt/vite-builder-nightly 4.5.1-29752449.30d24817 → 4.5.2-2610052030-052d82e
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.d.mts +12 -11
- package/dist/index.mjs +1464 -424
- package/dist/{fix-stacktrace.d.mts → ssr-sourcemap.d.mts} +1 -2
- package/dist/ssr-sourcemap.mjs +10 -0
- package/dist/vite-node-entry.d.mts +0 -1
- package/dist/vite-node-entry.mjs +1 -0
- package/dist/vite-node-runner-C0HmgX1b.d.mts +44 -0
- package/dist/vite-node-runner.d.mts +2 -6
- package/dist/vite-node-runner.mjs +128 -6
- package/dist/vite-node.d.mts +6 -5
- package/dist/vite-node.mjs +2 -2
- package/package.json +24 -25
- package/dist/fix-stacktrace.mjs +0 -13
package/dist/index.d.mts
CHANGED
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
import { EnvironmentOptions } from "vite";
|
|
2
2
|
import { ViteConfig } from "nuxt/schema";
|
|
3
3
|
import { NuxtBuilder } from "@nuxt/schema";
|
|
4
|
-
|
|
5
4
|
//#region src/vite.d.ts
|
|
6
|
-
declare const bundle: NuxtBuilder["bundle"];
|
|
5
|
+
export declare const bundle: NuxtBuilder["bundle"];
|
|
7
6
|
//#endregion
|
|
8
7
|
//#region src/watcher.d.ts
|
|
9
8
|
/**
|
|
10
|
-
* Reuse Vite's `server.watcher` (chokidar) to drive `builder:watch` instead of
|
|
11
|
-
* spinning up a second FS watcher in Nuxt core. Only active in `dev` mode.
|
|
12
|
-
*/
|
|
13
|
-
declare const setupWatcher: NonNullable<NuxtBuilder["setupWatcher"]>;
|
|
9
|
+
* Reuse Vite's `server.watcher` (chokidar) to drive `builder:watch` instead of
|
|
10
|
+
* spinning up a second FS watcher in Nuxt core. Only active in `dev` mode.
|
|
11
|
+
*/
|
|
12
|
+
export declare const setupWatcher: NonNullable<NuxtBuilder["setupWatcher"]>;
|
|
14
13
|
//#endregion
|
|
15
14
|
//#region src/index.d.ts
|
|
16
15
|
declare module "nuxt/schema" {
|
|
@@ -18,12 +17,14 @@ declare module "nuxt/schema" {
|
|
|
18
17
|
$client?: EnvironmentOptions;
|
|
19
18
|
$server?: EnvironmentOptions;
|
|
20
19
|
viteNode?: {
|
|
21
|
-
maxRetryAttempts?: number;
|
|
22
|
-
|
|
23
|
-
|
|
20
|
+
maxRetryAttempts?: number;
|
|
21
|
+
/** in milliseconds */
|
|
22
|
+
baseRetryDelay?: number;
|
|
23
|
+
/** in milliseconds */
|
|
24
|
+
maxRetryDelay?: number;
|
|
25
|
+
/** in milliseconds */
|
|
24
26
|
requestTimeout?: number;
|
|
25
27
|
};
|
|
26
28
|
}
|
|
27
29
|
}
|
|
28
|
-
//#endregion
|
|
29
|
-
export { bundle, setupWatcher };
|
|
30
|
+
//#endregion
|