@jk2908/cxx 0.1.9 → 0.2.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/config.d.ts +5 -0
- package/dist/config.d.ts.map +1 -0
- package/dist/index.d.ts +40 -8
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +196 -6
- package/dist/index.js.map +13 -0
- package/dist/logger.d.ts +54 -0
- package/dist/logger.d.ts.map +1 -0
- package/dist/lru.d.ts +21 -0
- package/dist/lru.d.ts.map +1 -0
- package/dist/next/cxx-loader.cjs +412 -5
- package/dist/next/cxx-loader.cjs.map +16 -0
- package/dist/next/index.d.ts +104 -262
- package/dist/next/index.d.ts.map +1 -0
- package/dist/next/index.js +305 -51
- package/dist/next/index.js.map +14 -0
- package/dist/types.d.ts +21 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/utils.d.ts +4 -0
- package/dist/utils.d.ts.map +1 -0
- package/dist/vite/index.d.ts +13 -0
- package/dist/vite/index.d.ts.map +1 -0
- package/dist/vite/index.js +380 -0
- package/dist/vite/index.js.map +15 -0
- package/package.json +13 -24
- package/src/config.ts +4 -0
- package/src/index.ts +218 -9
- package/src/logger.ts +151 -0
- package/src/lru.ts +51 -0
- package/src/next/cxx-loader.js +16 -4
- package/src/next/index.ts +169 -46
- package/src/types.ts +28 -0
- package/src/utils.ts +24 -0
- package/src/vite/index.ts +156 -0
- package/LICENSE +0 -21
- package/README.md +0 -58
- package/dist/inject/index.cjs +0 -60
- package/dist/inject/index.d.ts +0 -8
- package/dist/inject/index.js +0 -58
- package/dist/next/cxx-loader.d.ts +0 -7
- package/dist/next/cxx-loader.js +0 -7
- package/dist/vite-plugin-cxx/index.d.ts +0 -6
- package/dist/vite-plugin-cxx/index.js +0 -16
- package/src/cyrb53.ts +0 -20
- package/src/inject.ts +0 -54
- package/src/vite-plugin-cxx/index.ts +0 -16
package/dist/next/index.d.ts
CHANGED
|
@@ -1,252 +1,84 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
import * as next_dist_compiled_webpack_webpack from 'next/dist/compiled/webpack/webpack';
|
|
12
|
-
import * as next_dist_server_lib_revalidate from 'next/dist/server/lib/revalidate';
|
|
13
|
-
import { Configuration } from 'webpack';
|
|
14
|
-
import { Config } from '../inject/index.js';
|
|
15
|
-
|
|
16
|
-
declare function withCxx(nextConfig?: NextConfig, config?: Config): {
|
|
17
|
-
experimental: {
|
|
18
|
-
turbo: any;
|
|
19
|
-
flyingShuttle?: boolean;
|
|
20
|
-
prerenderEarlyExit?: boolean;
|
|
21
|
-
linkNoTouchStart?: boolean;
|
|
22
|
-
caseSensitiveRoutes?: boolean;
|
|
23
|
-
appDocumentPreloading?: boolean;
|
|
24
|
-
preloadEntriesOnStart?: boolean;
|
|
25
|
-
strictNextHead?: boolean;
|
|
26
|
-
clientRouterFilter?: boolean;
|
|
27
|
-
clientRouterFilterRedirects?: boolean;
|
|
28
|
-
staleTimes?: {
|
|
29
|
-
dynamic?: number;
|
|
30
|
-
static?: number;
|
|
31
|
-
};
|
|
32
|
-
clientRouterFilterAllowedRate?: number;
|
|
33
|
-
externalMiddlewareRewritesResolve?: boolean;
|
|
34
|
-
extensionAlias?: Record<string, any>;
|
|
35
|
-
allowedRevalidateHeaderKeys?: string[];
|
|
36
|
-
fetchCacheKeyPrefix?: string;
|
|
37
|
-
optimisticClientCache?: boolean;
|
|
38
|
-
swrDelta?: next_dist_server_lib_revalidate.SwrDelta;
|
|
39
|
-
middlewarePrefetch?: "strict" | "flexible";
|
|
40
|
-
manualClientBasePath?: boolean;
|
|
41
|
-
cssChunking?: "strict" | "loose";
|
|
42
|
-
disablePostcssPresetEnv?: boolean;
|
|
43
|
-
cpus?: number;
|
|
44
|
-
memoryBasedWorkersCount?: boolean;
|
|
45
|
-
proxyTimeout?: number;
|
|
46
|
-
isrFlushToDisk?: boolean;
|
|
47
|
-
workerThreads?: boolean;
|
|
48
|
-
optimizeCss?: boolean | Record<string, unknown>;
|
|
49
|
-
nextScriptWorkers?: boolean;
|
|
50
|
-
scrollRestoration?: boolean;
|
|
51
|
-
externalDir?: boolean;
|
|
52
|
-
amp?: {
|
|
53
|
-
optimizer?: any;
|
|
54
|
-
validator?: string;
|
|
55
|
-
skipValidation?: boolean;
|
|
56
|
-
};
|
|
57
|
-
disableOptimizedLoading?: boolean;
|
|
58
|
-
gzipSize?: boolean;
|
|
59
|
-
craCompat?: boolean;
|
|
60
|
-
esmExternals?: boolean | "loose";
|
|
61
|
-
fullySpecified?: boolean;
|
|
62
|
-
urlImports?: NonNullable<next_dist_compiled_webpack_webpack.webpack.Configuration["experiments"]>["buildHttp"];
|
|
63
|
-
outputFileTracingRoot?: string;
|
|
64
|
-
outputFileTracingExcludes?: Record<string, string[]>;
|
|
65
|
-
outputFileTracingIgnores?: string[];
|
|
66
|
-
outputFileTracingIncludes?: Record<string, string[]>;
|
|
67
|
-
swcTraceProfiling?: boolean;
|
|
68
|
-
forceSwcTransforms?: boolean;
|
|
69
|
-
swcPlugins?: Array<[string, Record<string, unknown>]>;
|
|
70
|
-
largePageDataBytes?: number;
|
|
71
|
-
fallbackNodePolyfills?: false;
|
|
72
|
-
sri?: {
|
|
73
|
-
algorithm?: next_dist_build_webpack_plugins_subresource_integrity_plugin.SubresourceIntegrityAlgorithm;
|
|
74
|
-
};
|
|
75
|
-
adjustFontFallbacks?: boolean;
|
|
76
|
-
adjustFontFallbacksWithSizeAdjust?: boolean;
|
|
77
|
-
webVitalsAttribution?: Array<typeof next_dist_shared_lib_utils.WEB_VITALS[number]>;
|
|
78
|
-
optimizePackageImports?: string[];
|
|
79
|
-
optimizeServerReact?: boolean;
|
|
80
|
-
turbotrace?: {
|
|
81
|
-
logLevel?: "bug" | "fatal" | "error" | "warning" | "hint" | "note" | "suggestions" | "info";
|
|
82
|
-
logDetail?: boolean;
|
|
83
|
-
logAll?: boolean;
|
|
84
|
-
contextDirectory?: string;
|
|
85
|
-
processCwd?: string;
|
|
86
|
-
memoryLimit?: number;
|
|
87
|
-
};
|
|
88
|
-
mdxRs?: boolean | {
|
|
89
|
-
development?: boolean;
|
|
90
|
-
jsx?: boolean;
|
|
91
|
-
jsxRuntime?: string;
|
|
92
|
-
jsxImportSource?: string;
|
|
93
|
-
providerImportSource?: string;
|
|
94
|
-
mdxType?: "gfm" | "commonmark";
|
|
95
|
-
};
|
|
96
|
-
typedRoutes?: boolean;
|
|
97
|
-
parallelServerCompiles?: boolean;
|
|
98
|
-
parallelServerBuildTraces?: boolean;
|
|
99
|
-
webpackBuildWorker?: boolean;
|
|
100
|
-
webpackMemoryOptimizations?: boolean;
|
|
101
|
-
instrumentationHook?: boolean;
|
|
102
|
-
clientTraceMetadata?: string[];
|
|
103
|
-
ppr?: next_dist_server_lib_experimental_ppr.ExperimentalPPRConfig;
|
|
104
|
-
taint?: boolean;
|
|
105
|
-
serverActions?: {
|
|
106
|
-
bodySizeLimit?: next.SizeLimit;
|
|
107
|
-
allowedOrigins?: string[];
|
|
108
|
-
};
|
|
109
|
-
serverMinification?: boolean;
|
|
110
|
-
serverSourceMaps?: boolean;
|
|
111
|
-
staticWorkerRequestDeduping?: boolean;
|
|
112
|
-
useWasmBinary?: boolean;
|
|
113
|
-
useLightningcss?: boolean;
|
|
114
|
-
useEarlyImport?: boolean;
|
|
115
|
-
testProxy?: boolean;
|
|
116
|
-
defaultTestRunner?: next_dist_cli_next_test.SupportedTestRunners;
|
|
117
|
-
allowDevelopmentBuild?: true;
|
|
118
|
-
bundlePagesExternals?: boolean;
|
|
119
|
-
serverComponentsExternalPackages?: string[];
|
|
120
|
-
reactCompiler?: boolean | next_dist_server_config_shared.ReactCompilerOptions;
|
|
121
|
-
after?: boolean;
|
|
122
|
-
};
|
|
123
|
-
webpack(conf: Configuration, options: WebpackConfigContext): any;
|
|
124
|
-
exportPathMap?: (defaultMap: next_dist_server_config_shared.ExportPathMap, ctx: {
|
|
125
|
-
dev: boolean;
|
|
126
|
-
dir: string;
|
|
127
|
-
outDir: string | null;
|
|
128
|
-
distDir: string;
|
|
129
|
-
buildId: string;
|
|
130
|
-
}) => Promise<next_dist_server_config_shared.ExportPathMap> | next_dist_server_config_shared.ExportPathMap;
|
|
131
|
-
i18n?: next_dist_server_config_shared.I18NConfig | null;
|
|
132
|
-
eslint?: next_dist_server_config_shared.ESLintConfig;
|
|
133
|
-
typescript?: next_dist_server_config_shared.TypeScriptConfig;
|
|
134
|
-
headers?: () => Promise<next_dist_lib_load_custom_routes.Header[]>;
|
|
135
|
-
rewrites?: () => Promise<next_dist_lib_load_custom_routes.Rewrite[] | {
|
|
136
|
-
beforeFiles: next_dist_lib_load_custom_routes.Rewrite[];
|
|
137
|
-
afterFiles: next_dist_lib_load_custom_routes.Rewrite[];
|
|
138
|
-
fallback: next_dist_lib_load_custom_routes.Rewrite[];
|
|
139
|
-
}>;
|
|
140
|
-
redirects?: () => Promise<next_dist_lib_load_custom_routes.Redirect[]>;
|
|
141
|
-
excludeDefaultMomentLocales?: boolean;
|
|
142
|
-
trailingSlash?: boolean;
|
|
143
|
-
env?: Record<string, string | undefined>;
|
|
144
|
-
distDir?: string;
|
|
145
|
-
cleanDistDir?: boolean;
|
|
146
|
-
assetPrefix?: string;
|
|
147
|
-
cacheHandler?: string | undefined;
|
|
148
|
-
cacheMaxMemorySize?: number;
|
|
149
|
-
useFileSystemPublicRoutes?: boolean;
|
|
150
|
-
generateBuildId?: () => string | null | Promise<string | null>;
|
|
151
|
-
generateEtags?: boolean;
|
|
152
|
-
pageExtensions?: string[];
|
|
153
|
-
compress?: boolean;
|
|
154
|
-
poweredByHeader?: boolean;
|
|
155
|
-
images?: next_dist_shared_lib_image_config.ImageConfig;
|
|
156
|
-
devIndicators?: {
|
|
157
|
-
buildActivity?: boolean;
|
|
158
|
-
buildActivityPosition?: "bottom-right" | "bottom-left" | "top-right" | "top-left";
|
|
159
|
-
};
|
|
160
|
-
onDemandEntries?: {
|
|
161
|
-
maxInactiveAge?: number;
|
|
162
|
-
pagesBufferLength?: number;
|
|
163
|
-
};
|
|
164
|
-
amp?: {
|
|
165
|
-
canonicalBase?: string;
|
|
166
|
-
};
|
|
167
|
-
deploymentId?: string;
|
|
168
|
-
basePath?: string;
|
|
169
|
-
sassOptions?: {
|
|
170
|
-
[key: string]: any;
|
|
171
|
-
};
|
|
172
|
-
productionBrowserSourceMaps?: boolean;
|
|
173
|
-
optimizeFonts?: boolean;
|
|
174
|
-
reactProductionProfiling?: boolean;
|
|
175
|
-
reactStrictMode?: boolean | null;
|
|
176
|
-
publicRuntimeConfig?: {
|
|
177
|
-
[key: string]: any;
|
|
178
|
-
};
|
|
179
|
-
serverRuntimeConfig?: {
|
|
180
|
-
[key: string]: any;
|
|
181
|
-
};
|
|
182
|
-
httpAgentOptions?: {
|
|
183
|
-
keepAlive?: boolean;
|
|
184
|
-
};
|
|
185
|
-
staticPageGenerationTimeout?: number;
|
|
186
|
-
crossOrigin?: "anonymous" | "use-credentials";
|
|
187
|
-
compiler?: {
|
|
188
|
-
reactRemoveProperties?: boolean | {
|
|
189
|
-
properties?: string[];
|
|
190
|
-
};
|
|
191
|
-
relay?: {
|
|
192
|
-
src: string;
|
|
193
|
-
artifactDirectory?: string;
|
|
194
|
-
language?: "typescript" | "javascript" | "flow";
|
|
195
|
-
eagerEsModules?: boolean;
|
|
196
|
-
};
|
|
197
|
-
removeConsole?: boolean | {
|
|
198
|
-
exclude?: string[];
|
|
199
|
-
};
|
|
200
|
-
styledComponents?: boolean | next_dist_server_config_shared.StyledComponentsConfig;
|
|
201
|
-
emotion?: boolean | next_dist_server_config_shared.EmotionConfig;
|
|
202
|
-
styledJsx?: boolean | {
|
|
203
|
-
useLightningcss?: boolean;
|
|
204
|
-
};
|
|
205
|
-
};
|
|
206
|
-
output?: "standalone" | "export";
|
|
207
|
-
transpilePackages?: string[];
|
|
208
|
-
skipMiddlewareUrlNormalize?: boolean;
|
|
209
|
-
skipTrailingSlashRedirect?: boolean;
|
|
210
|
-
modularizeImports?: Record<string, {
|
|
211
|
-
transform: string | Record<string, string>;
|
|
212
|
-
preventFullImport?: boolean;
|
|
213
|
-
skipDefaultConversion?: boolean;
|
|
214
|
-
}>;
|
|
215
|
-
logging?: {
|
|
216
|
-
fetches?: {
|
|
217
|
-
fullUrl?: boolean;
|
|
218
|
-
};
|
|
219
|
-
};
|
|
220
|
-
swrDelta?: next_dist_server_lib_revalidate.SwrDelta;
|
|
221
|
-
bundlePagesRouterDependencies?: boolean;
|
|
222
|
-
serverExternalPackages?: string[];
|
|
1
|
+
import type { NextConfig } from 'next';
|
|
2
|
+
import type { Logger } from '../logger.js';
|
|
3
|
+
import type { PluginConfig, Tags } from '../types.js';
|
|
4
|
+
/**
|
|
5
|
+
* Transform one module and, in development, register it with the shared watcher state
|
|
6
|
+
*/
|
|
7
|
+
export declare function processFile(source: string, filePath: string, pluginConfig: PluginConfig, logger: Logger): {
|
|
8
|
+
source: string;
|
|
9
|
+
template: string;
|
|
10
|
+
tags: Tags;
|
|
223
11
|
} | {
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
12
|
+
template: string;
|
|
13
|
+
tags: Tags;
|
|
14
|
+
};
|
|
15
|
+
export declare function withCxx(nextConfig?: NextConfig, pluginConfig?: PluginConfig): Promise<{
|
|
16
|
+
turbopack: {
|
|
17
|
+
rules: {
|
|
18
|
+
"*.{tsx,jsx,ts,js}": ({
|
|
19
|
+
loader: string;
|
|
20
|
+
options: {
|
|
21
|
+
pluginConfig: PluginConfig;
|
|
22
|
+
};
|
|
23
|
+
} | import("next/dist/server/config-shared.js").TurbopackRuleConfigItem | import("next/dist/server/config-shared.js").TurbopackLoaderItem)[] | {
|
|
24
|
+
loaders: ({
|
|
25
|
+
loader: string;
|
|
26
|
+
options: {
|
|
27
|
+
pluginConfig: PluginConfig;
|
|
28
|
+
};
|
|
29
|
+
} | import("next/dist/server/config-shared.js").TurbopackLoaderItem)[];
|
|
30
|
+
as?: string;
|
|
31
|
+
condition?: import("next/dist/server/config-shared.js").TurbopackRuleCondition;
|
|
32
|
+
type?: import("next/dist/server/config-shared.js").TurbopackModuleType;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
resolveAlias?: Record<string, string | string[] | Record<string, string | string[]>>;
|
|
36
|
+
resolveExtensions?: string[];
|
|
37
|
+
root?: string;
|
|
38
|
+
debugIds?: boolean;
|
|
39
|
+
ignoreIssue?: Array<{
|
|
40
|
+
path: string | RegExp;
|
|
41
|
+
title?: string | RegExp;
|
|
42
|
+
description?: string | RegExp;
|
|
43
|
+
}>;
|
|
44
|
+
};
|
|
45
|
+
allowedDevOrigins?: string[];
|
|
46
|
+
exportPathMap?: (defaultMap: import("next/dist/server/config-shared.js").ExportPathMap, ctx: {
|
|
227
47
|
dev: boolean;
|
|
228
48
|
dir: string;
|
|
229
49
|
outDir: string | null;
|
|
230
50
|
distDir: string;
|
|
231
51
|
buildId: string;
|
|
232
|
-
}) => Promise<
|
|
233
|
-
i18n?:
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
headers?: () => Promise<
|
|
237
|
-
rewrites?: () => Promise<
|
|
238
|
-
beforeFiles
|
|
239
|
-
afterFiles
|
|
240
|
-
fallback
|
|
241
|
-
}
|
|
242
|
-
|
|
52
|
+
}) => Promise<import("next/dist/server/config-shared.js").ExportPathMap> | import("next/dist/server/config-shared.js").ExportPathMap;
|
|
53
|
+
i18n?: import("next/dist/server/config-shared.js").I18NConfig | null;
|
|
54
|
+
typescript?: import("next/dist/server/config-shared.js").TypeScriptConfig;
|
|
55
|
+
typedRoutes?: boolean;
|
|
56
|
+
headers?: () => Promise<import("next/dist/lib/load-custom-routes.js").Header[]> | import("next/dist/lib/load-custom-routes.js").Header[];
|
|
57
|
+
rewrites?: () => Promise<import("next/dist/lib/load-custom-routes.js").Rewrite[] | {
|
|
58
|
+
beforeFiles?: import("next/dist/lib/load-custom-routes.js").Rewrite[];
|
|
59
|
+
afterFiles?: import("next/dist/lib/load-custom-routes.js").Rewrite[];
|
|
60
|
+
fallback?: import("next/dist/lib/load-custom-routes.js").Rewrite[];
|
|
61
|
+
}> | import("next/dist/lib/load-custom-routes.js").Rewrite[] | {
|
|
62
|
+
beforeFiles?: import("next/dist/lib/load-custom-routes.js").Rewrite[];
|
|
63
|
+
afterFiles?: import("next/dist/lib/load-custom-routes.js").Rewrite[];
|
|
64
|
+
fallback?: import("next/dist/lib/load-custom-routes.js").Rewrite[];
|
|
65
|
+
};
|
|
66
|
+
redirects?: () => Promise<import("next/dist/lib/load-custom-routes.js").Redirect[]> | import("next/dist/lib/load-custom-routes.js").Redirect[];
|
|
243
67
|
excludeDefaultMomentLocales?: boolean;
|
|
68
|
+
webpack?: import("next/dist/server/config-shared.js").NextJsWebpackConfig | null;
|
|
244
69
|
trailingSlash?: boolean;
|
|
245
70
|
env?: Record<string, string | undefined>;
|
|
246
71
|
distDir?: string;
|
|
247
72
|
cleanDistDir?: boolean;
|
|
248
73
|
assetPrefix?: string;
|
|
249
74
|
cacheHandler?: string | undefined;
|
|
75
|
+
adapterPath?: string;
|
|
76
|
+
cacheHandlers?: {
|
|
77
|
+
default?: string;
|
|
78
|
+
remote?: string;
|
|
79
|
+
static?: string;
|
|
80
|
+
[handlerName: string]: string | undefined;
|
|
81
|
+
};
|
|
250
82
|
cacheMaxMemorySize?: number;
|
|
251
83
|
useFileSystemPublicRoutes?: boolean;
|
|
252
84
|
generateBuildId?: () => string | null | Promise<string | null>;
|
|
@@ -254,33 +86,25 @@ declare function withCxx(nextConfig?: NextConfig, config?: Config): {
|
|
|
254
86
|
pageExtensions?: string[];
|
|
255
87
|
compress?: boolean;
|
|
256
88
|
poweredByHeader?: boolean;
|
|
257
|
-
images?:
|
|
258
|
-
devIndicators?: {
|
|
259
|
-
|
|
260
|
-
buildActivityPosition?: "bottom-right" | "bottom-left" | "top-right" | "top-left";
|
|
89
|
+
images?: import("next/dist/shared/lib/image-config.js").ImageConfig;
|
|
90
|
+
devIndicators?: false | {
|
|
91
|
+
position?: "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
261
92
|
};
|
|
262
93
|
onDemandEntries?: {
|
|
263
94
|
maxInactiveAge?: number;
|
|
264
95
|
pagesBufferLength?: number;
|
|
265
96
|
};
|
|
266
|
-
amp?: {
|
|
267
|
-
canonicalBase?: string;
|
|
268
|
-
};
|
|
269
97
|
deploymentId?: string;
|
|
270
98
|
basePath?: string;
|
|
271
99
|
sassOptions?: {
|
|
100
|
+
implementation?: string;
|
|
272
101
|
[key: string]: any;
|
|
273
102
|
};
|
|
274
103
|
productionBrowserSourceMaps?: boolean;
|
|
275
|
-
|
|
104
|
+
reactCompiler?: boolean | import("next/dist/server/config-shared.js").ReactCompilerOptions;
|
|
276
105
|
reactProductionProfiling?: boolean;
|
|
277
106
|
reactStrictMode?: boolean | null;
|
|
278
|
-
|
|
279
|
-
[key: string]: any;
|
|
280
|
-
};
|
|
281
|
-
serverRuntimeConfig?: {
|
|
282
|
-
[key: string]: any;
|
|
283
|
-
};
|
|
107
|
+
reactMaxHeadersLength?: number;
|
|
284
108
|
httpAgentOptions?: {
|
|
285
109
|
keepAlive?: boolean;
|
|
286
110
|
};
|
|
@@ -299,30 +123,48 @@ declare function withCxx(nextConfig?: NextConfig, config?: Config): {
|
|
|
299
123
|
removeConsole?: boolean | {
|
|
300
124
|
exclude?: string[];
|
|
301
125
|
};
|
|
302
|
-
styledComponents?: boolean |
|
|
303
|
-
emotion?: boolean |
|
|
126
|
+
styledComponents?: boolean | import("next/dist/server/config-shared.js").StyledComponentsConfig;
|
|
127
|
+
emotion?: boolean | import("next/dist/server/config-shared.js").EmotionConfig;
|
|
304
128
|
styledJsx?: boolean | {
|
|
305
129
|
useLightningcss?: boolean;
|
|
306
130
|
};
|
|
131
|
+
define?: Record<string, string | number | boolean>;
|
|
132
|
+
defineServer?: Record<string, string | number | boolean>;
|
|
133
|
+
runAfterProductionCompile?: (metadata: {
|
|
134
|
+
projectDir: string;
|
|
135
|
+
distDir: string;
|
|
136
|
+
}) => Promise<void>;
|
|
307
137
|
};
|
|
308
138
|
output?: "standalone" | "export";
|
|
309
139
|
transpilePackages?: string[];
|
|
310
140
|
skipMiddlewareUrlNormalize?: boolean;
|
|
141
|
+
skipProxyUrlNormalize?: boolean;
|
|
311
142
|
skipTrailingSlashRedirect?: boolean;
|
|
312
143
|
modularizeImports?: Record<string, {
|
|
313
144
|
transform: string | Record<string, string>;
|
|
314
145
|
preventFullImport?: boolean;
|
|
315
146
|
skipDefaultConversion?: boolean;
|
|
316
147
|
}>;
|
|
317
|
-
logging?:
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
148
|
+
logging?: import("next/dist/server/config-shared.js").LoggingConfig | false;
|
|
149
|
+
enablePrerenderSourceMaps?: boolean;
|
|
150
|
+
cacheComponents?: boolean;
|
|
151
|
+
cacheLife?: {
|
|
152
|
+
[profile: string]: {
|
|
153
|
+
stale?: number;
|
|
154
|
+
revalidate?: number;
|
|
155
|
+
expire?: number;
|
|
156
|
+
};
|
|
157
|
+
};
|
|
158
|
+
expireTime?: number;
|
|
159
|
+
experimental?: import("next/dist/server/config-shared.js").ExperimentalConfig;
|
|
324
160
|
bundlePagesRouterDependencies?: boolean;
|
|
325
161
|
serverExternalPackages?: string[];
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
162
|
+
outputFileTracingRoot?: string;
|
|
163
|
+
outputFileTracingExcludes?: Record<string, string[]>;
|
|
164
|
+
outputFileTracingIncludes?: Record<string, string[]>;
|
|
165
|
+
watchOptions?: {
|
|
166
|
+
pollIntervalMs?: number;
|
|
167
|
+
};
|
|
168
|
+
htmlLimitedBots?: RegExp;
|
|
169
|
+
}>;
|
|
170
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/next/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,MAAM,CAAA;AAQtC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,cAAc,CAAA;AAC1C,OAAO,KAAK,EAAE,YAAY,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AA2DrD;;GAEG;AACH,wBAAgB,WAAW,CAC1B,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,MAAM,EAChB,YAAY,EAAE,YAAY,EAC1B,MAAM,EAAE,MAAM;;;;;;;EA8Cd;AAwBD,wBAAsB,OAAO,CAC5B,UAAU,GAAE,UAAe,EAC3B,YAAY,GAAE,YAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;iBA+Bi2E,CAAC;uBAAsC,CAAC;;;;;;;;;;;;;;;;mBAAsn5B,CAAC;kBAA+B,CAAC;gBAA6B,CAAC;;mBAAuD,CAAC;kBAA+B,CAAC;gBAA6B,CAAC;;;;;;;;;;;;;eAA8lF,CAAC;cAAwB,CAAC;cAAwB,CAAC;;;;;;;;;;;;gBAAo9D,CAAC;;;sBAAie,CAAC;yBAA4H,CAAC;;;;;sBAAkiB,CAAC;;;;;;;;;iBAA4+C,CAAC;;;;;6BAA+sB,CAAC;sBAAoC,CAAC;;aAAoC,CAAC;;6BAA0D,CAAC;oBAA8B,CAAC;0BAAkE,CAAC;;qBAA2C,CAAC;mBAAiC,CAAC;;wBAA+C,CAAC;eAAmD,CAAC;iBAA4C,CAAC;2BAAyC,CAAC;;cAA6L,CAAC;oBAAyP,CAAC;iCAA8S,CAAC;;;;;;;;;;;;yBAAm0D,CAAC;6BAAwC,CAAC;;;;;;;iBAAowB,CAAC;sBAAgC,CAAC;kBAA4B,CAAC;;;;;;;;;;;sBAA21C,CAAC;;;GAD314C"}
|