@xyd-js/content 0.0.0-build-9ca22ca-20250917180209 → 0.0.0-build-32dec05-20250918122519
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/CHANGELOG.md +7 -7
- package/dist/md.js +1 -1
- package/dist/md.js.map +1 -1
- package/dist/vite.d.ts +170 -169
- package/dist/vite.js +1 -1
- package/dist/vite.js.map +1 -1
- package/package.json +7 -7
package/dist/vite.d.ts
CHANGED
|
@@ -28,34 +28,34 @@ type PartialNull<T> = {
|
|
|
28
28
|
};
|
|
29
29
|
|
|
30
30
|
interface RollupError extends RollupLog {
|
|
31
|
-
name?: string;
|
|
32
|
-
stack?: string;
|
|
33
|
-
watchFiles?: string[];
|
|
31
|
+
name?: string | undefined;
|
|
32
|
+
stack?: string | undefined;
|
|
33
|
+
watchFiles?: string[] | undefined;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
interface RollupLog {
|
|
37
|
-
binding?: string;
|
|
38
|
-
cause?: unknown;
|
|
39
|
-
code?: string;
|
|
40
|
-
exporter?: string;
|
|
41
|
-
frame?: string;
|
|
42
|
-
hook?: string;
|
|
43
|
-
id?: string;
|
|
44
|
-
ids?: string[];
|
|
37
|
+
binding?: string | undefined;
|
|
38
|
+
cause?: unknown | undefined;
|
|
39
|
+
code?: string | undefined;
|
|
40
|
+
exporter?: string | undefined;
|
|
41
|
+
frame?: string | undefined;
|
|
42
|
+
hook?: string | undefined;
|
|
43
|
+
id?: string | undefined;
|
|
44
|
+
ids?: string[] | undefined;
|
|
45
45
|
loc?: {
|
|
46
46
|
column: number;
|
|
47
|
-
file?: string;
|
|
47
|
+
file?: string | undefined;
|
|
48
48
|
line: number;
|
|
49
49
|
};
|
|
50
50
|
message: string;
|
|
51
|
-
meta?: any;
|
|
52
|
-
names?: string[];
|
|
53
|
-
plugin?: string;
|
|
54
|
-
pluginCode?: unknown;
|
|
55
|
-
pos?: number;
|
|
56
|
-
reexporter?: string;
|
|
57
|
-
stack?: string;
|
|
58
|
-
url?: string;
|
|
51
|
+
meta?: any | undefined;
|
|
52
|
+
names?: string[] | undefined;
|
|
53
|
+
plugin?: string | undefined;
|
|
54
|
+
pluginCode?: unknown | undefined;
|
|
55
|
+
pos?: number | undefined;
|
|
56
|
+
reexporter?: string | undefined;
|
|
57
|
+
stack?: string | undefined;
|
|
58
|
+
url?: string | undefined;
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
type LogLevel = 'warn' | 'info' | 'debug';
|
|
@@ -67,25 +67,25 @@ type SourceMapSegment =
|
|
|
67
67
|
| [number, number, number, number, number];
|
|
68
68
|
|
|
69
69
|
interface ExistingDecodedSourceMap {
|
|
70
|
-
file?: string;
|
|
70
|
+
file?: string | undefined;
|
|
71
71
|
readonly mappings: SourceMapSegment[][];
|
|
72
72
|
names: string[];
|
|
73
|
-
sourceRoot?: string;
|
|
73
|
+
sourceRoot?: string | undefined;
|
|
74
74
|
sources: string[];
|
|
75
|
-
sourcesContent?: string[];
|
|
75
|
+
sourcesContent?: string[] | undefined;
|
|
76
76
|
version: number;
|
|
77
|
-
x_google_ignoreList?: number[];
|
|
77
|
+
x_google_ignoreList?: number[] | undefined;
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
interface ExistingRawSourceMap {
|
|
81
|
-
file?: string;
|
|
81
|
+
file?: string | undefined;
|
|
82
82
|
mappings: string;
|
|
83
83
|
names: string[];
|
|
84
|
-
sourceRoot?: string;
|
|
84
|
+
sourceRoot?: string | undefined;
|
|
85
85
|
sources: string[];
|
|
86
|
-
sourcesContent?: string[];
|
|
86
|
+
sourcesContent?: string[] | undefined;
|
|
87
87
|
version: number;
|
|
88
|
-
x_google_ignoreList?: number[];
|
|
88
|
+
x_google_ignoreList?: number[] | undefined;
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
type DecodedSourceMapOrMissing =
|
|
@@ -93,16 +93,16 @@ type DecodedSourceMapOrMissing =
|
|
|
93
93
|
missing: true;
|
|
94
94
|
plugin: string;
|
|
95
95
|
}
|
|
96
|
-
| (ExistingDecodedSourceMap & { missing?: false });
|
|
96
|
+
| (ExistingDecodedSourceMap & { missing?: false | undefined });
|
|
97
97
|
|
|
98
98
|
interface SourceMap {
|
|
99
99
|
file: string;
|
|
100
100
|
mappings: string;
|
|
101
101
|
names: string[];
|
|
102
102
|
sources: string[];
|
|
103
|
-
sourcesContent?: string[];
|
|
103
|
+
sourcesContent?: string[] | undefined;
|
|
104
104
|
version: number;
|
|
105
|
-
debugId?: string;
|
|
105
|
+
debugId?: string | undefined;
|
|
106
106
|
toString(): string;
|
|
107
107
|
toUrl(): string;
|
|
108
108
|
}
|
|
@@ -117,13 +117,13 @@ interface ModuleOptions {
|
|
|
117
117
|
}
|
|
118
118
|
|
|
119
119
|
interface SourceDescription extends Partial<PartialNull<ModuleOptions>> {
|
|
120
|
-
ast?: ProgramNode;
|
|
120
|
+
ast?: ProgramNode | undefined;
|
|
121
121
|
code: string;
|
|
122
|
-
map?: SourceMapInput;
|
|
122
|
+
map?: SourceMapInput | undefined;
|
|
123
123
|
}
|
|
124
124
|
|
|
125
125
|
interface TransformModuleJSON {
|
|
126
|
-
ast?: ProgramNode;
|
|
126
|
+
ast?: ProgramNode | undefined;
|
|
127
127
|
code: string;
|
|
128
128
|
// note if plugins use new this.cache to opt-out auto transform cache
|
|
129
129
|
customTransformCache: boolean;
|
|
@@ -159,30 +159,30 @@ interface MinimalPluginContext {
|
|
|
159
159
|
}
|
|
160
160
|
|
|
161
161
|
interface EmittedAsset {
|
|
162
|
-
fileName?: string;
|
|
163
|
-
name?: string;
|
|
164
|
-
needsCodeReference?: boolean;
|
|
165
|
-
originalFileName?: string | null;
|
|
166
|
-
source?: string | Uint8Array;
|
|
162
|
+
fileName?: string | undefined;
|
|
163
|
+
name?: string | undefined;
|
|
164
|
+
needsCodeReference?: boolean | undefined;
|
|
165
|
+
originalFileName?: string | null | undefined;
|
|
166
|
+
source?: string | Uint8Array | undefined;
|
|
167
167
|
type: 'asset';
|
|
168
168
|
}
|
|
169
169
|
|
|
170
170
|
interface EmittedChunk {
|
|
171
|
-
fileName?: string;
|
|
171
|
+
fileName?: string | undefined;
|
|
172
172
|
id: string;
|
|
173
|
-
implicitlyLoadedAfterOneOf?: string[];
|
|
174
|
-
importer?: string;
|
|
175
|
-
name?: string;
|
|
176
|
-
preserveSignature?: PreserveEntrySignaturesOption;
|
|
173
|
+
implicitlyLoadedAfterOneOf?: string[] | undefined;
|
|
174
|
+
importer?: string | undefined;
|
|
175
|
+
name?: string | undefined;
|
|
176
|
+
preserveSignature?: PreserveEntrySignaturesOption | undefined;
|
|
177
177
|
type: 'chunk';
|
|
178
178
|
}
|
|
179
179
|
|
|
180
180
|
interface EmittedPrebuiltChunk {
|
|
181
181
|
code: string;
|
|
182
|
-
exports?: string[];
|
|
182
|
+
exports?: string[] | undefined;
|
|
183
183
|
fileName: string;
|
|
184
|
-
map?: SourceMap;
|
|
185
|
-
sourcemapFileName?: string;
|
|
184
|
+
map?: SourceMap | undefined;
|
|
185
|
+
sourcemapFileName?: string | undefined;
|
|
186
186
|
type: 'prebuilt-chunk';
|
|
187
187
|
}
|
|
188
188
|
|
|
@@ -273,13 +273,13 @@ type StringOrRegExp = string | RegExp;
|
|
|
273
273
|
type StringFilter<Value = StringOrRegExp> =
|
|
274
274
|
| MaybeArray<Value>
|
|
275
275
|
| {
|
|
276
|
-
include?: MaybeArray<Value
|
|
277
|
-
exclude?: MaybeArray<Value
|
|
276
|
+
include?: MaybeArray<Value> | undefined;
|
|
277
|
+
exclude?: MaybeArray<Value> | undefined;
|
|
278
278
|
};
|
|
279
279
|
|
|
280
280
|
interface HookFilter {
|
|
281
|
-
id?: StringFilter;
|
|
282
|
-
code?: StringFilter;
|
|
281
|
+
id?: StringFilter | undefined;
|
|
282
|
+
code?: StringFilter | undefined;
|
|
283
283
|
}
|
|
284
284
|
|
|
285
285
|
interface ResolvedId extends ModuleOptions {
|
|
@@ -291,9 +291,9 @@ interface ResolvedId extends ModuleOptions {
|
|
|
291
291
|
type ResolvedIdMap = Record<string, ResolvedId>;
|
|
292
292
|
|
|
293
293
|
interface PartialResolvedId extends Partial<PartialNull<ModuleOptions>> {
|
|
294
|
-
external?: boolean | 'absolute' | 'relative';
|
|
294
|
+
external?: boolean | 'absolute' | 'relative' | undefined;
|
|
295
295
|
id: string;
|
|
296
|
-
resolvedBy?: string;
|
|
296
|
+
resolvedBy?: string | undefined;
|
|
297
297
|
}
|
|
298
298
|
|
|
299
299
|
type ResolveIdResult = string | NullValue | false | PartialResolvedId;
|
|
@@ -521,11 +521,11 @@ type MakeAsync<Function_> = Function_ extends (
|
|
|
521
521
|
type ObjectHook<T, O = {}> = T | ({ handler: T; order?: 'pre' | 'post' | null } & O);
|
|
522
522
|
|
|
523
523
|
type HookFilterExtension<K extends keyof FunctionPluginHooks> = K extends 'transform'
|
|
524
|
-
? { filter?: HookFilter }
|
|
524
|
+
? { filter?: HookFilter | undefined }
|
|
525
525
|
: K extends 'load'
|
|
526
|
-
? { filter?: Pick<HookFilter, 'id'> }
|
|
526
|
+
? { filter?: Pick<HookFilter, 'id'> | undefined }
|
|
527
527
|
: K extends 'resolveId'
|
|
528
|
-
? { filter?: { id?: StringFilter<RegExp> } }
|
|
528
|
+
? { filter?: { id?: StringFilter<RegExp> | undefined } } | undefined
|
|
529
529
|
: // eslint-disable-next-line @typescript-eslint/no-empty-object-type
|
|
530
530
|
{};
|
|
531
531
|
|
|
@@ -540,14 +540,14 @@ type PluginHooks = {
|
|
|
540
540
|
interface OutputPlugin
|
|
541
541
|
extends Partial<{ [K in OutputPluginHooks]: PluginHooks[K] }>,
|
|
542
542
|
Partial<Record<AddonHooks, ObjectHook<AddonHook>>> {
|
|
543
|
-
cacheKey?: string;
|
|
543
|
+
cacheKey?: string | undefined;
|
|
544
544
|
name: string;
|
|
545
|
-
version?: string;
|
|
545
|
+
version?: string | undefined;
|
|
546
546
|
}
|
|
547
547
|
|
|
548
548
|
interface Plugin<A = any> extends OutputPlugin, Partial<PluginHooks> {
|
|
549
549
|
// for inter-plugin communication
|
|
550
|
-
api?: A;
|
|
550
|
+
api?: A | undefined;
|
|
551
551
|
}
|
|
552
552
|
|
|
553
553
|
type JsxPreset = 'react' | 'react-jsx' | 'preserve' | 'preserve-react';
|
|
@@ -579,7 +579,7 @@ interface NormalizedJsxAutomaticOptions {
|
|
|
579
579
|
}
|
|
580
580
|
|
|
581
581
|
type JsxOptions = Partial<NormalizedJsxOptions> & {
|
|
582
|
-
preset?: JsxPreset;
|
|
582
|
+
preset?: JsxPreset | undefined;
|
|
583
583
|
};
|
|
584
584
|
|
|
585
585
|
type TreeshakingPreset = 'smallest' | 'safest' | 'recommended';
|
|
@@ -596,8 +596,8 @@ interface NormalizedTreeshakingOptions {
|
|
|
596
596
|
|
|
597
597
|
interface TreeshakingOptions
|
|
598
598
|
extends Partial<Omit<NormalizedTreeshakingOptions, 'moduleSideEffects'>> {
|
|
599
|
-
moduleSideEffects?: ModuleSideEffectsOption;
|
|
600
|
-
preset?: TreeshakingPreset;
|
|
599
|
+
moduleSideEffects?: ModuleSideEffectsOption | undefined;
|
|
600
|
+
preset?: TreeshakingPreset | undefined;
|
|
601
601
|
}
|
|
602
602
|
|
|
603
603
|
interface ManualChunkMeta {
|
|
@@ -646,28 +646,28 @@ type SourcemapIgnoreListOption = (
|
|
|
646
646
|
type InputPluginOption = MaybePromise<Plugin | NullValue | false | InputPluginOption[]>;
|
|
647
647
|
|
|
648
648
|
interface InputOptions {
|
|
649
|
-
cache?: boolean | RollupCache;
|
|
650
|
-
context?: string;
|
|
651
|
-
experimentalCacheExpiry?: number;
|
|
652
|
-
experimentalLogSideEffects?: boolean;
|
|
653
|
-
external?: ExternalOption;
|
|
654
|
-
fs?: RollupFsModule;
|
|
655
|
-
input?: InputOption;
|
|
656
|
-
jsx?: false | JsxPreset | JsxOptions;
|
|
657
|
-
logLevel?: LogLevelOption;
|
|
658
|
-
makeAbsoluteExternalsRelative?: boolean | 'ifRelativeSource';
|
|
659
|
-
maxParallelFileOps?: number;
|
|
660
|
-
moduleContext?: ((id: string) => string | NullValue) | Record<string, string
|
|
661
|
-
onLog?: LogHandlerWithDefault;
|
|
662
|
-
onwarn?: WarningHandlerWithDefault;
|
|
663
|
-
perf?: boolean;
|
|
664
|
-
plugins?: InputPluginOption;
|
|
665
|
-
preserveEntrySignatures?: PreserveEntrySignaturesOption;
|
|
666
|
-
preserveSymlinks?: boolean;
|
|
667
|
-
shimMissingExports?: boolean;
|
|
668
|
-
strictDeprecations?: boolean;
|
|
669
|
-
treeshake?: boolean | TreeshakingPreset | TreeshakingOptions;
|
|
670
|
-
watch?: WatcherOptions | false;
|
|
649
|
+
cache?: boolean | RollupCache | undefined;
|
|
650
|
+
context?: string | undefined;
|
|
651
|
+
experimentalCacheExpiry?: number | undefined;
|
|
652
|
+
experimentalLogSideEffects?: boolean | undefined;
|
|
653
|
+
external?: ExternalOption | undefined;
|
|
654
|
+
fs?: RollupFsModule | undefined;
|
|
655
|
+
input?: InputOption | undefined;
|
|
656
|
+
jsx?: false | JsxPreset | JsxOptions | undefined;
|
|
657
|
+
logLevel?: LogLevelOption | undefined;
|
|
658
|
+
makeAbsoluteExternalsRelative?: boolean | 'ifRelativeSource' | undefined;
|
|
659
|
+
maxParallelFileOps?: number | undefined;
|
|
660
|
+
moduleContext?: ((id: string) => string | NullValue) | Record<string, string> | undefined;
|
|
661
|
+
onLog?: LogHandlerWithDefault | undefined;
|
|
662
|
+
onwarn?: WarningHandlerWithDefault | undefined;
|
|
663
|
+
perf?: boolean | undefined;
|
|
664
|
+
plugins?: InputPluginOption | undefined;
|
|
665
|
+
preserveEntrySignatures?: PreserveEntrySignaturesOption | undefined;
|
|
666
|
+
preserveSymlinks?: boolean | undefined;
|
|
667
|
+
shimMissingExports?: boolean | undefined;
|
|
668
|
+
strictDeprecations?: boolean | undefined;
|
|
669
|
+
treeshake?: boolean | TreeshakingPreset | TreeshakingOptions | undefined;
|
|
670
|
+
watch?: WatcherOptions | false | undefined;
|
|
671
671
|
}
|
|
672
672
|
|
|
673
673
|
interface NormalizedInputOptions {
|
|
@@ -709,7 +709,7 @@ interface NormalizedGeneratedCodeOptions {
|
|
|
709
709
|
}
|
|
710
710
|
|
|
711
711
|
interface GeneratedCodeOptions extends Partial<NormalizedGeneratedCodeOptions> {
|
|
712
|
-
preset?: GeneratedCodePreset;
|
|
712
|
+
preset?: GeneratedCodePreset | undefined;
|
|
713
713
|
}
|
|
714
714
|
|
|
715
715
|
type OptionsPaths = Record<string, string> | ((id: string) => string);
|
|
@@ -720,27 +720,27 @@ type GetInterop = (id: string | null) => InteropType;
|
|
|
720
720
|
|
|
721
721
|
type AmdOptions = (
|
|
722
722
|
| {
|
|
723
|
-
autoId?: false;
|
|
723
|
+
autoId?: false | undefined;
|
|
724
724
|
id: string;
|
|
725
725
|
}
|
|
726
726
|
| {
|
|
727
727
|
autoId: true;
|
|
728
|
-
basePath?: string;
|
|
729
|
-
id?: undefined;
|
|
728
|
+
basePath?: string | undefined;
|
|
729
|
+
id?: undefined | undefined;
|
|
730
730
|
}
|
|
731
731
|
| {
|
|
732
|
-
autoId?: false;
|
|
733
|
-
id?: undefined;
|
|
732
|
+
autoId?: false | undefined;
|
|
733
|
+
id?: undefined | undefined;
|
|
734
734
|
}
|
|
735
735
|
) & {
|
|
736
|
-
define?: string;
|
|
737
|
-
forceJsExtensionForImports?: boolean;
|
|
736
|
+
define?: string | undefined;
|
|
737
|
+
forceJsExtensionForImports?: boolean | undefined;
|
|
738
738
|
};
|
|
739
739
|
|
|
740
740
|
type NormalizedAmdOptions = (
|
|
741
741
|
| {
|
|
742
742
|
autoId: false;
|
|
743
|
-
id?: string;
|
|
743
|
+
id?: string | undefined;
|
|
744
744
|
}
|
|
745
745
|
| {
|
|
746
746
|
autoId: true;
|
|
@@ -758,60 +758,60 @@ type OutputPluginOption = MaybePromise<OutputPlugin | NullValue | false | Output
|
|
|
758
758
|
type HashCharacters = 'base64' | 'base36' | 'hex';
|
|
759
759
|
|
|
760
760
|
interface OutputOptions {
|
|
761
|
-
amd?: AmdOptions;
|
|
762
|
-
assetFileNames?: string | ((chunkInfo: PreRenderedAsset) => string);
|
|
763
|
-
banner?: string | AddonFunction;
|
|
764
|
-
chunkFileNames?: string | ((chunkInfo: PreRenderedChunk) => string);
|
|
765
|
-
compact?: boolean;
|
|
761
|
+
amd?: AmdOptions | undefined;
|
|
762
|
+
assetFileNames?: string | ((chunkInfo: PreRenderedAsset) => string) | undefined;
|
|
763
|
+
banner?: string | AddonFunction | undefined;
|
|
764
|
+
chunkFileNames?: string | ((chunkInfo: PreRenderedChunk) => string) | undefined;
|
|
765
|
+
compact?: boolean | undefined;
|
|
766
766
|
// only required for bundle.write
|
|
767
|
-
dir?: string;
|
|
768
|
-
dynamicImportInCjs?: boolean;
|
|
769
|
-
entryFileNames?: string | ((chunkInfo: PreRenderedChunk) => string);
|
|
770
|
-
esModule?: boolean | 'if-default-prop';
|
|
771
|
-
experimentalMinChunkSize?: number;
|
|
772
|
-
exports?: 'default' | 'named' | 'none' | 'auto';
|
|
773
|
-
extend?: boolean;
|
|
767
|
+
dir?: string | undefined;
|
|
768
|
+
dynamicImportInCjs?: boolean | undefined;
|
|
769
|
+
entryFileNames?: string | ((chunkInfo: PreRenderedChunk) => string) | undefined;
|
|
770
|
+
esModule?: boolean | 'if-default-prop' | undefined;
|
|
771
|
+
experimentalMinChunkSize?: number | undefined;
|
|
772
|
+
exports?: 'default' | 'named' | 'none' | 'auto' | undefined;
|
|
773
|
+
extend?: boolean | undefined;
|
|
774
774
|
/** @deprecated Use "externalImportAttributes" instead. */
|
|
775
|
-
externalImportAssertions?: boolean;
|
|
776
|
-
externalImportAttributes?: boolean;
|
|
777
|
-
externalLiveBindings?: boolean;
|
|
775
|
+
externalImportAssertions?: boolean | undefined;
|
|
776
|
+
externalImportAttributes?: boolean | undefined;
|
|
777
|
+
externalLiveBindings?: boolean | undefined;
|
|
778
778
|
// only required for bundle.write
|
|
779
|
-
file?: string;
|
|
780
|
-
footer?: string | AddonFunction;
|
|
781
|
-
format?: ModuleFormat;
|
|
782
|
-
freeze?: boolean;
|
|
783
|
-
generatedCode?: GeneratedCodePreset | GeneratedCodeOptions;
|
|
784
|
-
globals?: GlobalsOption;
|
|
785
|
-
hashCharacters?: HashCharacters;
|
|
786
|
-
hoistTransitiveImports?: boolean;
|
|
787
|
-
importAttributesKey?: ImportAttributesKey;
|
|
788
|
-
indent?: string | boolean;
|
|
789
|
-
inlineDynamicImports?: boolean;
|
|
790
|
-
interop?: InteropType | GetInterop;
|
|
791
|
-
intro?: string | AddonFunction;
|
|
792
|
-
manualChunks?: ManualChunksOption;
|
|
793
|
-
minifyInternalExports?: boolean;
|
|
794
|
-
name?: string;
|
|
795
|
-
noConflict?: boolean;
|
|
796
|
-
outro?: string | AddonFunction;
|
|
797
|
-
paths?: OptionsPaths;
|
|
798
|
-
plugins?: OutputPluginOption;
|
|
799
|
-
preserveModules?: boolean;
|
|
800
|
-
preserveModulesRoot?: string;
|
|
801
|
-
reexportProtoFromExternal?: boolean;
|
|
802
|
-
sanitizeFileName?: boolean | ((fileName: string) => string);
|
|
803
|
-
sourcemap?: boolean | 'inline' | 'hidden';
|
|
804
|
-
sourcemapBaseUrl?: string;
|
|
805
|
-
sourcemapExcludeSources?: boolean;
|
|
806
|
-
sourcemapFile?: string;
|
|
807
|
-
sourcemapFileNames?: string | ((chunkInfo: PreRenderedChunk) => string);
|
|
808
|
-
sourcemapIgnoreList?: boolean | SourcemapIgnoreListOption;
|
|
809
|
-
sourcemapPathTransform?: SourcemapPathTransformOption;
|
|
810
|
-
sourcemapDebugIds?: boolean;
|
|
811
|
-
strict?: boolean;
|
|
812
|
-
systemNullSetters?: boolean;
|
|
813
|
-
validate?: boolean;
|
|
814
|
-
virtualDirname?: string;
|
|
779
|
+
file?: string | undefined;
|
|
780
|
+
footer?: string | AddonFunction | undefined;
|
|
781
|
+
format?: ModuleFormat | undefined;
|
|
782
|
+
freeze?: boolean | undefined;
|
|
783
|
+
generatedCode?: GeneratedCodePreset | GeneratedCodeOptions | undefined;
|
|
784
|
+
globals?: GlobalsOption | undefined;
|
|
785
|
+
hashCharacters?: HashCharacters | undefined;
|
|
786
|
+
hoistTransitiveImports?: boolean | undefined;
|
|
787
|
+
importAttributesKey?: ImportAttributesKey | undefined;
|
|
788
|
+
indent?: string | boolean | undefined;
|
|
789
|
+
inlineDynamicImports?: boolean | undefined;
|
|
790
|
+
interop?: InteropType | GetInterop | undefined;
|
|
791
|
+
intro?: string | AddonFunction | undefined;
|
|
792
|
+
manualChunks?: ManualChunksOption | undefined;
|
|
793
|
+
minifyInternalExports?: boolean | undefined;
|
|
794
|
+
name?: string | undefined;
|
|
795
|
+
noConflict?: boolean | undefined;
|
|
796
|
+
outro?: string | AddonFunction | undefined;
|
|
797
|
+
paths?: OptionsPaths | undefined;
|
|
798
|
+
plugins?: OutputPluginOption | undefined;
|
|
799
|
+
preserveModules?: boolean | undefined;
|
|
800
|
+
preserveModulesRoot?: string | undefined;
|
|
801
|
+
reexportProtoFromExternal?: boolean | undefined;
|
|
802
|
+
sanitizeFileName?: boolean | ((fileName: string) => string) | undefined;
|
|
803
|
+
sourcemap?: boolean | 'inline' | 'hidden' | undefined;
|
|
804
|
+
sourcemapBaseUrl?: string | undefined;
|
|
805
|
+
sourcemapExcludeSources?: boolean | undefined;
|
|
806
|
+
sourcemapFile?: string | undefined;
|
|
807
|
+
sourcemapFileNames?: string | ((chunkInfo: PreRenderedChunk) => string) | undefined;
|
|
808
|
+
sourcemapIgnoreList?: boolean | SourcemapIgnoreListOption | undefined;
|
|
809
|
+
sourcemapPathTransform?: SourcemapPathTransformOption | undefined;
|
|
810
|
+
sourcemapDebugIds?: boolean | undefined;
|
|
811
|
+
strict?: boolean | undefined;
|
|
812
|
+
systemNullSetters?: boolean | undefined;
|
|
813
|
+
validate?: boolean | undefined;
|
|
814
|
+
virtualDirname?: string | undefined;
|
|
815
815
|
}
|
|
816
816
|
|
|
817
817
|
interface NormalizedOutputOptions {
|
|
@@ -934,37 +934,38 @@ interface RollupCache {
|
|
|
934
934
|
}
|
|
935
935
|
|
|
936
936
|
interface ChokidarOptions {
|
|
937
|
-
alwaysStat?: boolean;
|
|
938
|
-
atomic?: boolean | number;
|
|
937
|
+
alwaysStat?: boolean | undefined;
|
|
938
|
+
atomic?: boolean | number | undefined;
|
|
939
939
|
awaitWriteFinish?:
|
|
940
940
|
| {
|
|
941
|
-
pollInterval?: number;
|
|
942
|
-
stabilityThreshold?: number;
|
|
941
|
+
pollInterval?: number | undefined;
|
|
942
|
+
stabilityThreshold?: number | undefined;
|
|
943
943
|
}
|
|
944
|
-
| boolean
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
944
|
+
| boolean
|
|
945
|
+
| undefined;
|
|
946
|
+
binaryInterval?: number | undefined;
|
|
947
|
+
cwd?: string | undefined;
|
|
948
|
+
depth?: number | undefined;
|
|
949
|
+
disableGlobbing?: boolean | undefined;
|
|
950
|
+
followSymlinks?: boolean | undefined;
|
|
951
|
+
ignoreInitial?: boolean | undefined;
|
|
952
|
+
ignorePermissionErrors?: boolean | undefined;
|
|
953
|
+
ignored?: any | undefined;
|
|
954
|
+
interval?: number | undefined;
|
|
955
|
+
persistent?: boolean | undefined;
|
|
956
|
+
useFsEvents?: boolean | undefined;
|
|
957
|
+
usePolling?: boolean | undefined;
|
|
957
958
|
}
|
|
958
959
|
|
|
959
960
|
interface WatcherOptions {
|
|
960
|
-
allowInputInsideOutputPath?: boolean;
|
|
961
|
-
buildDelay?: number;
|
|
962
|
-
chokidar?: ChokidarOptions;
|
|
963
|
-
clearScreen?: boolean;
|
|
964
|
-
exclude?: string | RegExp | (string | RegExp)[];
|
|
965
|
-
include?: string | RegExp | (string | RegExp)[];
|
|
966
|
-
skipWrite?: boolean;
|
|
967
|
-
onInvalidate?: (id: string) => void;
|
|
961
|
+
allowInputInsideOutputPath?: boolean | undefined;
|
|
962
|
+
buildDelay?: number | undefined;
|
|
963
|
+
chokidar?: ChokidarOptions | undefined;
|
|
964
|
+
clearScreen?: boolean | undefined;
|
|
965
|
+
exclude?: string | RegExp | (string | RegExp)[] | undefined;
|
|
966
|
+
include?: string | RegExp | (string | RegExp)[] | undefined;
|
|
967
|
+
skipWrite?: boolean | undefined;
|
|
968
|
+
onInvalidate?: ((id: string) => void) | undefined;
|
|
968
969
|
}
|
|
969
970
|
|
|
970
971
|
interface AstNodeLocation {
|
package/dist/vite.js
CHANGED
|
@@ -9740,7 +9740,7 @@ function remarkParse(options) {
|
|
|
9740
9740
|
}
|
|
9741
9741
|
}
|
|
9742
9742
|
|
|
9743
|
-
// ../../node_modules/.pnpm/remark-mdx@3.1.
|
|
9743
|
+
// ../../node_modules/.pnpm/remark-mdx@3.1.1/node_modules/remark-mdx/lib/index.js
|
|
9744
9744
|
import { mdxFromMarkdown, mdxToMarkdown } from "mdast-util-mdx";
|
|
9745
9745
|
import { mdxjs } from "micromark-extension-mdxjs";
|
|
9746
9746
|
var emptyOptions = {};
|