@serwist/turbopack 9.5.7 → 9.5.9
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/chunks/index.schema-RVDaKxz4.js +189 -0
- package/dist/chunks/index.schema-RVDaKxz4.js.map +1 -0
- package/dist/index.d.mts +96 -0
- package/dist/index.d.mts.map +1 -0
- package/dist/index.mjs +166 -0
- package/dist/index.mjs.map +1 -0
- package/dist/index.react.d.mts +42 -0
- package/dist/index.react.d.mts.map +1 -0
- package/dist/index.react.mjs +136 -0
- package/dist/index.react.mjs.map +1 -0
- package/dist/index.schema.d.mts +311 -0
- package/dist/index.schema.d.mts.map +1 -0
- package/dist/index.schema.mjs +2 -0
- package/dist/index.worker.d.mts +18 -0
- package/dist/index.worker.d.mts.map +1 -0
- package/dist/index.worker.mjs +227 -0
- package/dist/index.worker.mjs.map +1 -0
- package/package.json +34 -32
- package/dist/chunks/index.schema.js +0 -185
- package/dist/index.d.ts +0 -22
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -190
- package/dist/index.react.d.ts +0 -25
- package/dist/index.react.d.ts.map +0 -1
- package/dist/index.react.js +0 -88
- package/dist/index.schema.d.ts +0 -301
- package/dist/index.schema.d.ts.map +0 -1
- package/dist/index.schema.js +0 -8
- package/dist/index.worker.d.ts +0 -14
- package/dist/index.worker.d.ts.map +0 -1
- package/dist/index.worker.js +0 -261
- package/dist/lib/constants.d.ts +0 -2
- package/dist/lib/constants.d.ts.map +0 -1
- package/dist/lib/context.d.ts +0 -7
- package/dist/lib/context.d.ts.map +0 -1
- package/dist/lib/index.d.ts +0 -3
- package/dist/lib/index.d.ts.map +0 -1
- package/dist/lib/logger.d.ts +0 -8
- package/dist/lib/logger.d.ts.map +0 -1
- package/dist/lib/utils.d.ts +0 -3
- package/dist/lib/utils.d.ts.map +0 -1
- package/dist/types.d.ts +0 -72
- package/dist/types.d.ts.map +0 -1
package/dist/index.worker.js
DELETED
|
@@ -1,261 +0,0 @@
|
|
|
1
|
-
import { NetworkOnly, CacheFirst, StaleWhileRevalidate, NetworkFirst, ExpirationPlugin, RangeRequestsPlugin } from 'serwist';
|
|
2
|
-
|
|
3
|
-
const PAGES_CACHE_NAME = {
|
|
4
|
-
rscPrefetch: "pages-rsc-prefetch",
|
|
5
|
-
rsc: "pages-rsc",
|
|
6
|
-
html: "pages"
|
|
7
|
-
};
|
|
8
|
-
const defaultCache = process.env.NODE_ENV !== "production" ? [
|
|
9
|
-
{
|
|
10
|
-
matcher: /.*/i,
|
|
11
|
-
handler: new NetworkOnly()
|
|
12
|
-
}
|
|
13
|
-
] : [
|
|
14
|
-
{
|
|
15
|
-
matcher: /^https:\/\/fonts\.(?:gstatic)\.com\/.*/i,
|
|
16
|
-
handler: new CacheFirst({
|
|
17
|
-
cacheName: "google-fonts-webfonts",
|
|
18
|
-
plugins: [
|
|
19
|
-
new ExpirationPlugin({
|
|
20
|
-
maxEntries: 4,
|
|
21
|
-
maxAgeSeconds: 365 * 24 * 60 * 60,
|
|
22
|
-
maxAgeFrom: "last-used"
|
|
23
|
-
})
|
|
24
|
-
]
|
|
25
|
-
})
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
matcher: /^https:\/\/fonts\.(?:googleapis)\.com\/.*/i,
|
|
29
|
-
handler: new StaleWhileRevalidate({
|
|
30
|
-
cacheName: "google-fonts-stylesheets",
|
|
31
|
-
plugins: [
|
|
32
|
-
new ExpirationPlugin({
|
|
33
|
-
maxEntries: 4,
|
|
34
|
-
maxAgeSeconds: 7 * 24 * 60 * 60,
|
|
35
|
-
maxAgeFrom: "last-used"
|
|
36
|
-
})
|
|
37
|
-
]
|
|
38
|
-
})
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
matcher: /\.(?:eot|otf|ttc|ttf|woff|woff2|font.css)$/i,
|
|
42
|
-
handler: new StaleWhileRevalidate({
|
|
43
|
-
cacheName: "static-font-assets",
|
|
44
|
-
plugins: [
|
|
45
|
-
new ExpirationPlugin({
|
|
46
|
-
maxEntries: 4,
|
|
47
|
-
maxAgeSeconds: 7 * 24 * 60 * 60,
|
|
48
|
-
maxAgeFrom: "last-used"
|
|
49
|
-
})
|
|
50
|
-
]
|
|
51
|
-
})
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
matcher: /\.(?:jpg|jpeg|gif|png|svg|ico|webp)$/i,
|
|
55
|
-
handler: new StaleWhileRevalidate({
|
|
56
|
-
cacheName: "static-image-assets",
|
|
57
|
-
plugins: [
|
|
58
|
-
new ExpirationPlugin({
|
|
59
|
-
maxEntries: 64,
|
|
60
|
-
maxAgeSeconds: 30 * 24 * 60 * 60,
|
|
61
|
-
maxAgeFrom: "last-used"
|
|
62
|
-
})
|
|
63
|
-
]
|
|
64
|
-
})
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
matcher: /\/_next\/static.+\.js$/i,
|
|
68
|
-
handler: new CacheFirst({
|
|
69
|
-
cacheName: "next-static-js-assets",
|
|
70
|
-
plugins: [
|
|
71
|
-
new ExpirationPlugin({
|
|
72
|
-
maxEntries: 64,
|
|
73
|
-
maxAgeSeconds: 24 * 60 * 60,
|
|
74
|
-
maxAgeFrom: "last-used"
|
|
75
|
-
})
|
|
76
|
-
]
|
|
77
|
-
})
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
matcher: /\/_next\/image\?url=.+$/i,
|
|
81
|
-
handler: new StaleWhileRevalidate({
|
|
82
|
-
cacheName: "next-image",
|
|
83
|
-
plugins: [
|
|
84
|
-
new ExpirationPlugin({
|
|
85
|
-
maxEntries: 64,
|
|
86
|
-
maxAgeSeconds: 24 * 60 * 60,
|
|
87
|
-
maxAgeFrom: "last-used"
|
|
88
|
-
})
|
|
89
|
-
]
|
|
90
|
-
})
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
matcher: /\.(?:mp3|wav|ogg)$/i,
|
|
94
|
-
handler: new CacheFirst({
|
|
95
|
-
cacheName: "static-audio-assets",
|
|
96
|
-
plugins: [
|
|
97
|
-
new ExpirationPlugin({
|
|
98
|
-
maxEntries: 32,
|
|
99
|
-
maxAgeSeconds: 24 * 60 * 60,
|
|
100
|
-
maxAgeFrom: "last-used"
|
|
101
|
-
}),
|
|
102
|
-
new RangeRequestsPlugin()
|
|
103
|
-
]
|
|
104
|
-
})
|
|
105
|
-
},
|
|
106
|
-
{
|
|
107
|
-
matcher: /\.(?:mp4|webm)$/i,
|
|
108
|
-
handler: new CacheFirst({
|
|
109
|
-
cacheName: "static-video-assets",
|
|
110
|
-
plugins: [
|
|
111
|
-
new ExpirationPlugin({
|
|
112
|
-
maxEntries: 32,
|
|
113
|
-
maxAgeSeconds: 24 * 60 * 60,
|
|
114
|
-
maxAgeFrom: "last-used"
|
|
115
|
-
}),
|
|
116
|
-
new RangeRequestsPlugin()
|
|
117
|
-
]
|
|
118
|
-
})
|
|
119
|
-
},
|
|
120
|
-
{
|
|
121
|
-
matcher: /\.(?:js)$/i,
|
|
122
|
-
handler: new StaleWhileRevalidate({
|
|
123
|
-
cacheName: "static-js-assets",
|
|
124
|
-
plugins: [
|
|
125
|
-
new ExpirationPlugin({
|
|
126
|
-
maxEntries: 48,
|
|
127
|
-
maxAgeSeconds: 24 * 60 * 60,
|
|
128
|
-
maxAgeFrom: "last-used"
|
|
129
|
-
})
|
|
130
|
-
]
|
|
131
|
-
})
|
|
132
|
-
},
|
|
133
|
-
{
|
|
134
|
-
matcher: /\.(?:css|less)$/i,
|
|
135
|
-
handler: new StaleWhileRevalidate({
|
|
136
|
-
cacheName: "static-style-assets",
|
|
137
|
-
plugins: [
|
|
138
|
-
new ExpirationPlugin({
|
|
139
|
-
maxEntries: 32,
|
|
140
|
-
maxAgeSeconds: 24 * 60 * 60,
|
|
141
|
-
maxAgeFrom: "last-used"
|
|
142
|
-
})
|
|
143
|
-
]
|
|
144
|
-
})
|
|
145
|
-
},
|
|
146
|
-
{
|
|
147
|
-
matcher: /\/_next\/data\/.+\/.+\.json$/i,
|
|
148
|
-
handler: new NetworkFirst({
|
|
149
|
-
cacheName: "next-data",
|
|
150
|
-
plugins: [
|
|
151
|
-
new ExpirationPlugin({
|
|
152
|
-
maxEntries: 32,
|
|
153
|
-
maxAgeSeconds: 24 * 60 * 60,
|
|
154
|
-
maxAgeFrom: "last-used"
|
|
155
|
-
})
|
|
156
|
-
]
|
|
157
|
-
})
|
|
158
|
-
},
|
|
159
|
-
{
|
|
160
|
-
matcher: /\.(?:json|xml|csv)$/i,
|
|
161
|
-
handler: new NetworkFirst({
|
|
162
|
-
cacheName: "static-data-assets",
|
|
163
|
-
plugins: [
|
|
164
|
-
new ExpirationPlugin({
|
|
165
|
-
maxEntries: 32,
|
|
166
|
-
maxAgeSeconds: 24 * 60 * 60,
|
|
167
|
-
maxAgeFrom: "last-used"
|
|
168
|
-
})
|
|
169
|
-
]
|
|
170
|
-
})
|
|
171
|
-
},
|
|
172
|
-
{
|
|
173
|
-
matcher: /\/api\/auth\/.*/,
|
|
174
|
-
handler: new NetworkOnly({
|
|
175
|
-
networkTimeoutSeconds: 10
|
|
176
|
-
})
|
|
177
|
-
},
|
|
178
|
-
{
|
|
179
|
-
matcher: ({ sameOrigin, url: { pathname } })=>sameOrigin && pathname.startsWith("/api/"),
|
|
180
|
-
method: "GET",
|
|
181
|
-
handler: new NetworkFirst({
|
|
182
|
-
cacheName: "apis",
|
|
183
|
-
plugins: [
|
|
184
|
-
new ExpirationPlugin({
|
|
185
|
-
maxEntries: 16,
|
|
186
|
-
maxAgeSeconds: 24 * 60 * 60,
|
|
187
|
-
maxAgeFrom: "last-used"
|
|
188
|
-
})
|
|
189
|
-
],
|
|
190
|
-
networkTimeoutSeconds: 10
|
|
191
|
-
})
|
|
192
|
-
},
|
|
193
|
-
{
|
|
194
|
-
matcher: ({ request, url: { pathname }, sameOrigin })=>request.headers.get("RSC") === "1" && request.headers.get("Next-Router-Prefetch") === "1" && sameOrigin && !pathname.startsWith("/api/"),
|
|
195
|
-
handler: new NetworkFirst({
|
|
196
|
-
cacheName: PAGES_CACHE_NAME.rscPrefetch,
|
|
197
|
-
plugins: [
|
|
198
|
-
new ExpirationPlugin({
|
|
199
|
-
maxEntries: 32,
|
|
200
|
-
maxAgeSeconds: 24 * 60 * 60
|
|
201
|
-
})
|
|
202
|
-
]
|
|
203
|
-
})
|
|
204
|
-
},
|
|
205
|
-
{
|
|
206
|
-
matcher: ({ request, url: { pathname }, sameOrigin })=>request.headers.get("RSC") === "1" && sameOrigin && !pathname.startsWith("/api/"),
|
|
207
|
-
handler: new NetworkFirst({
|
|
208
|
-
cacheName: PAGES_CACHE_NAME.rsc,
|
|
209
|
-
plugins: [
|
|
210
|
-
new ExpirationPlugin({
|
|
211
|
-
maxEntries: 32,
|
|
212
|
-
maxAgeSeconds: 24 * 60 * 60
|
|
213
|
-
})
|
|
214
|
-
]
|
|
215
|
-
})
|
|
216
|
-
},
|
|
217
|
-
{
|
|
218
|
-
matcher: ({ request, url: { pathname }, sameOrigin })=>request.headers.get("Content-Type")?.includes("text/html") && sameOrigin && !pathname.startsWith("/api/"),
|
|
219
|
-
handler: new NetworkFirst({
|
|
220
|
-
cacheName: PAGES_CACHE_NAME.html,
|
|
221
|
-
plugins: [
|
|
222
|
-
new ExpirationPlugin({
|
|
223
|
-
maxEntries: 32,
|
|
224
|
-
maxAgeSeconds: 24 * 60 * 60
|
|
225
|
-
})
|
|
226
|
-
]
|
|
227
|
-
})
|
|
228
|
-
},
|
|
229
|
-
{
|
|
230
|
-
matcher: ({ url: { pathname }, sameOrigin })=>sameOrigin && !pathname.startsWith("/api/"),
|
|
231
|
-
handler: new NetworkFirst({
|
|
232
|
-
cacheName: "others",
|
|
233
|
-
plugins: [
|
|
234
|
-
new ExpirationPlugin({
|
|
235
|
-
maxEntries: 32,
|
|
236
|
-
maxAgeSeconds: 24 * 60 * 60
|
|
237
|
-
})
|
|
238
|
-
]
|
|
239
|
-
})
|
|
240
|
-
},
|
|
241
|
-
{
|
|
242
|
-
matcher: ({ sameOrigin })=>!sameOrigin,
|
|
243
|
-
handler: new NetworkFirst({
|
|
244
|
-
cacheName: "cross-origin",
|
|
245
|
-
plugins: [
|
|
246
|
-
new ExpirationPlugin({
|
|
247
|
-
maxEntries: 32,
|
|
248
|
-
maxAgeSeconds: 60 * 60
|
|
249
|
-
})
|
|
250
|
-
],
|
|
251
|
-
networkTimeoutSeconds: 10
|
|
252
|
-
})
|
|
253
|
-
},
|
|
254
|
-
{
|
|
255
|
-
matcher: /.*/i,
|
|
256
|
-
method: "GET",
|
|
257
|
-
handler: new NetworkOnly()
|
|
258
|
-
}
|
|
259
|
-
];
|
|
260
|
-
|
|
261
|
-
export { PAGES_CACHE_NAME, defaultCache };
|
package/dist/lib/constants.d.ts
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export declare const SUPPORTED_ESBUILD_OPTIONS: readonly ["sourcemap", "legalComments", "sourceRoot", "sourcesContent", "format", "globalName", "target", "supported", "define", "treeShaking", "minify", "mangleProps", "reserveProps", "mangleQuoted", "mangleCache", "drop", "dropLabels", "minifyWhitespace", "minifyIdentifiers", "minifySyntax", "lineLimit", "charset", "ignoreAnnotations", "jsx", "jsxFactory", "jsxFragment", "jsxImportSource", "jsxDev", "jsxSideEffects", "pure", "keepNames", "absPaths", "color", "logLevel", "logLimit", "logOverride", "tsconfigRaw", "bundle", "splitting", "preserveSymlinks", "external", "packages", "alias", "loader", "resolveExtensions", "mainFields", "conditions", "allowOverwrite", "tsconfig", "outExtension", "publicPath", "inject", "banner", "footer", "plugins"];
|
|
2
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/lib/constants.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,yBAAyB,ovBA0Dc,CAAC"}
|
package/dist/lib/context.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { Serwist } from "@serwist/window";
|
|
2
|
-
export interface SerwistContextValues {
|
|
3
|
-
serwist: Serwist | null;
|
|
4
|
-
}
|
|
5
|
-
export declare const SerwistContext: import("react").Context<SerwistContextValues>;
|
|
6
|
-
export declare const useSerwist: () => SerwistContextValues;
|
|
7
|
-
//# sourceMappingURL=context.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../src/lib/context.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAG/C,MAAM,WAAW,oBAAoB;IACnC,OAAO,EAAE,OAAO,GAAG,IAAI,CAAC;CACzB;AAED,eAAO,MAAM,cAAc,+CAA6C,CAAC;AAEzE,eAAO,MAAM,UAAU,4BAMtB,CAAC"}
|
package/dist/lib/index.d.ts
DELETED
package/dist/lib/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/lib/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AAEtC,OAAO,EAAE,MAAM,EAAE,CAAC"}
|
package/dist/lib/logger.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export declare const NEXT_VERSION: string;
|
|
2
|
-
export type LoggingMethods = "wait" | "error" | "warn" | "info" | "event";
|
|
3
|
-
export declare const wait: (...message: any[]) => void;
|
|
4
|
-
export declare const error: (...message: any[]) => void;
|
|
5
|
-
export declare const warn: (...message: any[]) => void;
|
|
6
|
-
export declare const info: (...message: any[]) => void;
|
|
7
|
-
export declare const event: (...message: any[]) => void;
|
|
8
|
-
//# sourceMappingURL=logger.d.ts.map
|
package/dist/lib/logger.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"logger.d.ts","sourceRoot":"","sources":["../../src/lib/logger.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,YAAY,EAA2C,MAAM,CAAC;AAI3E,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;AAyC1E,eAAO,MAAM,IAAI,GAAI,GAAG,SAAS,GAAG,EAAE,SAAoC,CAAC;AAE3E,eAAO,MAAM,KAAK,GAAI,GAAG,SAAS,GAAG,EAAE,SAAqC,CAAC;AAE7E,eAAO,MAAM,IAAI,GAAI,GAAG,SAAS,GAAG,EAAE,SAAoC,CAAC;AAE3E,eAAO,MAAM,IAAI,GAAI,GAAG,SAAS,GAAG,EAAE,SAAoC,CAAC;AAE3E,eAAO,MAAM,KAAK,GAAI,GAAG,SAAS,GAAG,EAAE,SAAqC,CAAC"}
|
package/dist/lib/utils.d.ts
DELETED
package/dist/lib/utils.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/lib/utils.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc,GAAU,KAAK,MAAM,EAAE,OAAO,OAAO,4EAS/D,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAAI,SAAS,MAAM,aAGnD,CAAC"}
|
package/dist/types.d.ts
DELETED
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import type { BasePartial, BaseResolved, GlobPartial, GlobResolved, InjectPartial, InjectResolved, OptionalGlobDirectoryPartial, RequiredGlobDirectoryResolved } from "@serwist/build";
|
|
2
|
-
import type { Prettify, Require } from "@serwist/utils";
|
|
3
|
-
import type { BuildOptions as BaseEsbuildNativeOpts } from "esbuild";
|
|
4
|
-
import type { BuildOptions as BaseEsbuildWasmOpts } from "esbuild-wasm";
|
|
5
|
-
import type { NextConfig as CompleteNextConfig } from "next";
|
|
6
|
-
import type { SUPPORTED_ESBUILD_OPTIONS } from "./lib/constants.js";
|
|
7
|
-
export type EsbuildSupportedOptions = (typeof SUPPORTED_ESBUILD_OPTIONS)[number];
|
|
8
|
-
export type EsbuildWasmOptions = Prettify<any extends BaseEsbuildWasmOpts ? never : Pick<BaseEsbuildWasmOpts, EsbuildSupportedOptions>>;
|
|
9
|
-
export type EsbuildNativeOptions = Prettify<any extends BaseEsbuildNativeOpts ? never : Pick<BaseEsbuildNativeOpts, EsbuildSupportedOptions>>;
|
|
10
|
-
export interface NextConfig extends Pick<CompleteNextConfig, "basePath" | "distDir"> {
|
|
11
|
-
/**
|
|
12
|
-
* The Next.js `assetPrefix` config option.
|
|
13
|
-
*
|
|
14
|
-
* @see https://nextjs.org/docs/app/api-reference/config/next-config-js/assetPrefix
|
|
15
|
-
*/
|
|
16
|
-
assetPrefix?: string;
|
|
17
|
-
/**
|
|
18
|
-
* The Next.js `basePath` config option.
|
|
19
|
-
*
|
|
20
|
-
* @default "/"
|
|
21
|
-
* @see https://nextjs.org/docs/app/api-reference/config/next-config-js/basePath
|
|
22
|
-
*/
|
|
23
|
-
basePath?: string;
|
|
24
|
-
/**
|
|
25
|
-
* The Next.js `distDir` config option.
|
|
26
|
-
*
|
|
27
|
-
* @default ".next"
|
|
28
|
-
* @see https://nextjs.org/docs/app/api-reference/config/next-config-js/distDir
|
|
29
|
-
*/
|
|
30
|
-
distDir?: string;
|
|
31
|
-
}
|
|
32
|
-
export interface TurboPartial {
|
|
33
|
-
/**
|
|
34
|
-
* The path to your working directory.
|
|
35
|
-
*
|
|
36
|
-
* @default process.cwd()
|
|
37
|
-
*/
|
|
38
|
-
cwd?: string;
|
|
39
|
-
/**
|
|
40
|
-
* A copy of your Next.js configuration. This option has been deprecated
|
|
41
|
-
* and is no longer necessary, as Serwist can load the Next.js configuration
|
|
42
|
-
* itself. It will be removed in Serwist 10.
|
|
43
|
-
*
|
|
44
|
-
* @deprecated
|
|
45
|
-
*/
|
|
46
|
-
nextConfig?: Prettify<NextConfig>;
|
|
47
|
-
/**
|
|
48
|
-
* Whether to use the native `esbuild` package instead of
|
|
49
|
-
* `esbuild-wasm` for bundling the service worker. Defaults
|
|
50
|
-
* to `false` if not on Windows, `true` otherwise.
|
|
51
|
-
*/
|
|
52
|
-
useNativeEsbuild?: boolean;
|
|
53
|
-
/**
|
|
54
|
-
* Whether to automatically rebuild when source file changes
|
|
55
|
-
* while in development mode.
|
|
56
|
-
*
|
|
57
|
-
* @default true
|
|
58
|
-
*/
|
|
59
|
-
rebuildOnChange?: boolean;
|
|
60
|
-
/**
|
|
61
|
-
* Options to configure the esbuild instance used to bundle
|
|
62
|
-
* the service worker.
|
|
63
|
-
*/
|
|
64
|
-
esbuildOptions?: EsbuildNativeOptions | EsbuildWasmOptions;
|
|
65
|
-
}
|
|
66
|
-
export interface TurboResolved extends Require<TurboPartial, "cwd" | "useNativeEsbuild" | "rebuildOnChange" | "esbuildOptions"> {
|
|
67
|
-
}
|
|
68
|
-
export type InjectManifestOptions = Prettify<Omit<BasePartial & GlobPartial & InjectPartial & OptionalGlobDirectoryPartial & TurboPartial, "disablePrecacheManifest">>;
|
|
69
|
-
export type InjectManifestOptionsComplete = Prettify<Omit<Require<BaseResolved, "dontCacheBustURLsMatching"> & GlobResolved & InjectResolved & RequiredGlobDirectoryResolved & TurboResolved, "disablePrecacheManifest">> & {
|
|
70
|
-
nextConfig: Required<NextConfig>;
|
|
71
|
-
};
|
|
72
|
-
//# sourceMappingURL=types.d.ts.map
|
package/dist/types.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,WAAW,EACX,YAAY,EACZ,WAAW,EACX,YAAY,EACZ,aAAa,EACb,cAAc,EACd,4BAA4B,EAC5B,6BAA6B,EAC9B,MAAM,gBAAgB,CAAC;AACxB,OAAO,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AACxD,OAAO,KAAK,EAAE,YAAY,IAAI,qBAAqB,EAAE,MAAM,SAAS,CAAC;AACrE,OAAO,KAAK,EAAE,YAAY,IAAI,mB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