@let-value/translate-extract 1.1.6-beta.3 → 1.2.3
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/bin/cli.cjs +1 -1
- package/dist/bin/cli.d.cts +1 -1
- package/dist/bin/cli.d.mts +1 -1
- package/dist/bin/cli.mjs +1 -1
- package/dist/{configuration-oHJyypq5.d.mts → configuration-Bwtek7Fh.d.mts} +57 -55
- package/dist/configuration-Bwtek7Fh.d.mts.map +1 -0
- package/dist/{configuration-BVNh7M_I.d.cts → configuration-DLSMbmU5.d.cts} +58 -54
- package/dist/configuration-DLSMbmU5.d.cts.map +1 -0
- package/dist/{run-oGs6tkeL.cjs → run-Bcz92fEY.cjs} +785 -290
- package/dist/{run-Bv3fv1N8.mjs → run-CzeTVOug.mjs} +785 -290
- package/dist/run-CzeTVOug.mjs.map +1 -0
- package/dist/src/core.d.cts +2 -2
- package/dist/src/core.d.mts +2 -2
- package/dist/src/index.cjs +1 -1
- package/dist/src/index.d.cts +4 -16
- package/dist/src/index.d.cts.map +1 -1
- package/dist/src/index.d.mts +4 -16
- package/dist/src/index.d.mts.map +1 -1
- package/dist/src/index.mjs +1 -1
- package/dist/src/static.d.cts +1 -1
- package/dist/src/static.d.mts +1 -1
- package/package.json +4 -3
- package/dist/configuration-BVNh7M_I.d.cts.map +0 -1
- package/dist/configuration-oHJyypq5.d.mts.map +0 -1
- package/dist/run-Bv3fv1N8.mjs.map +0 -1
package/dist/bin/cli.cjs
CHANGED
package/dist/bin/cli.d.cts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export {}
|
package/dist/bin/cli.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export {}
|
package/dist/bin/cli.mjs
CHANGED
|
@@ -1,15 +1,11 @@
|
|
|
1
1
|
import Parser from "@keqingmoe/tree-sitter";
|
|
2
2
|
import log from "loglevel";
|
|
3
3
|
import { PluralFormsLocale } from "@let-value/translate";
|
|
4
|
-
|
|
5
4
|
//#region src/logger.d.ts
|
|
6
5
|
type Logger = log.Logger;
|
|
7
6
|
type LogLevelNames = log.LogLevelNames;
|
|
8
7
|
type LogLevel = LogLevelNames;
|
|
9
8
|
//#endregion
|
|
10
|
-
//#region src/plugins/cleanup/cleanup.d.ts
|
|
11
|
-
declare function cleanup$1(): Plugin;
|
|
12
|
-
//#endregion
|
|
13
9
|
//#region src/plugins/core/queries/types.d.ts
|
|
14
10
|
interface Comments {
|
|
15
11
|
translator?: string;
|
|
@@ -27,14 +23,17 @@ interface Translation {
|
|
|
27
23
|
obsolete?: boolean;
|
|
28
24
|
}
|
|
29
25
|
//#endregion
|
|
26
|
+
//#region src/plugins/cleanup/cleanup.d.ts
|
|
27
|
+
declare function cleanup$1(): Plugin;
|
|
28
|
+
//#endregion
|
|
30
29
|
//#region src/plugins/core/core.d.ts
|
|
31
|
-
declare function core$1(): Plugin
|
|
30
|
+
declare function core$1(): Plugin;
|
|
32
31
|
//#endregion
|
|
33
32
|
//#region src/plugins/po/po.d.ts
|
|
34
33
|
declare function po$1(): Plugin;
|
|
35
34
|
//#endregion
|
|
36
35
|
//#region src/plugins/react/react.d.ts
|
|
37
|
-
declare function react$1(): Plugin
|
|
36
|
+
declare function react$1(): Plugin;
|
|
38
37
|
//#endregion
|
|
39
38
|
//#region src/static.d.ts
|
|
40
39
|
declare function core(...props: Parameters<typeof core$1>): {
|
|
@@ -68,6 +67,7 @@ type MaybePromise<T> = T | Promise<T>;
|
|
|
68
67
|
interface Context {
|
|
69
68
|
config: ResolvedConfig;
|
|
70
69
|
generatedAt: Date;
|
|
70
|
+
/** Entrypoint roots discovered in this run (including promoted ones). */
|
|
71
71
|
paths: Set<string>;
|
|
72
72
|
logger?: Logger;
|
|
73
73
|
}
|
|
@@ -76,6 +76,7 @@ interface ImportReference {
|
|
|
76
76
|
kind: "static" | "dynamic";
|
|
77
77
|
typeOnly: boolean;
|
|
78
78
|
}
|
|
79
|
+
/** Arguments passed to exclude filters. */
|
|
79
80
|
interface ResolveArgs<TInput = unknown> {
|
|
80
81
|
entrypoint: string;
|
|
81
82
|
path: string;
|
|
@@ -83,75 +84,76 @@ interface ResolveArgs<TInput = unknown> {
|
|
|
83
84
|
import?: ImportReference;
|
|
84
85
|
data?: TInput;
|
|
85
86
|
}
|
|
86
|
-
interface
|
|
87
|
+
interface SourceArgs {
|
|
87
88
|
entrypoint: string;
|
|
88
89
|
path: string;
|
|
89
|
-
namespace: string;
|
|
90
90
|
import?: ImportReference;
|
|
91
|
-
data?: TInput;
|
|
92
91
|
}
|
|
93
|
-
interface LoadArgs
|
|
92
|
+
interface LoadArgs {
|
|
94
93
|
entrypoint: string;
|
|
95
94
|
path: string;
|
|
96
|
-
namespace: string;
|
|
97
|
-
data?: TInput;
|
|
98
95
|
}
|
|
99
|
-
|
|
96
|
+
/** Produces the contents of a source file; return undefined to let the next loader try. */
|
|
97
|
+
type LoadHook = (args: LoadArgs) => MaybePromise<string | undefined>;
|
|
98
|
+
interface ProcessArgs {
|
|
100
99
|
entrypoint: string;
|
|
101
100
|
path: string;
|
|
102
|
-
|
|
103
|
-
|
|
101
|
+
contents: string;
|
|
102
|
+
/** Emits translations extracted from this file. */
|
|
103
|
+
emit(translations: Translation[]): void;
|
|
104
104
|
}
|
|
105
|
-
|
|
106
|
-
|
|
105
|
+
/** Runs for every loaded source file. Return a non-undefined value to stop later processors for this file. */
|
|
106
|
+
type ProcessHook = (args: ProcessArgs) => MaybePromise<unknown>;
|
|
107
|
+
interface FileTranslations {
|
|
107
108
|
path: string;
|
|
108
|
-
|
|
109
|
-
data: TInput;
|
|
109
|
+
translations: Translation[];
|
|
110
110
|
}
|
|
111
|
-
interface
|
|
111
|
+
interface CollectedArgs {
|
|
112
112
|
entrypoint: string;
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
113
|
+
/** Translations of every processed source file of this entrypoint, one entry per file. */
|
|
114
|
+
files: FileTranslations[];
|
|
115
|
+
/**
|
|
116
|
+
* Schedules an output artifact. Every entrypoint's onCollected hook has
|
|
117
|
+
* run by the time any producer does, so a producer may read state the
|
|
118
|
+
* hook keeps across entrypoints. Outputs run in parallel; writes to the
|
|
119
|
+
* same path are serialized.
|
|
120
|
+
*/
|
|
121
|
+
output(path: string, produce: () => MaybePromise<void>): void;
|
|
116
122
|
}
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
123
|
+
/** Runs once per entrypoint, after all of its source files settled and translations are known. */
|
|
124
|
+
type CollectedHook = (args: CollectedArgs) => MaybePromise<void>;
|
|
125
|
+
interface OutputsArgs {
|
|
126
|
+
/** Every output path produced in this run, across all entrypoints. */
|
|
127
|
+
outputs: string[];
|
|
128
|
+
}
|
|
129
|
+
/** Runs once per run, after every entrypoint produced its outputs. */
|
|
130
|
+
type OutputsHook = (args: OutputsArgs) => MaybePromise<void>;
|
|
131
|
+
interface Build {
|
|
125
132
|
context: Context;
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
133
|
+
/**
|
|
134
|
+
* Discovers a source file. When `path` equals `entrypoint` a new
|
|
135
|
+
* extraction pipeline is started for it (entrypoint promotion);
|
|
136
|
+
* otherwise the file joins the given entrypoint's walk. Excluded and
|
|
137
|
+
* already-known paths are ignored.
|
|
138
|
+
*/
|
|
139
|
+
source(args: SourceArgs): void;
|
|
140
|
+
onLoad(filter: RegExp, hook: LoadHook): void;
|
|
141
|
+
onProcess(filter: RegExp, hook: ProcessHook): void;
|
|
142
|
+
onCollected(hook: CollectedHook): void;
|
|
143
|
+
onOutputs(hook: OutputsHook): void;
|
|
134
144
|
}
|
|
135
|
-
interface Plugin
|
|
145
|
+
interface Plugin {
|
|
136
146
|
name: string;
|
|
137
|
-
setup(build: Build
|
|
147
|
+
setup(build: Build): void;
|
|
138
148
|
}
|
|
139
149
|
type UniversalPlugin = Plugin | StaticPlugin;
|
|
140
150
|
//#endregion
|
|
141
151
|
//#region src/exclude.d.ts
|
|
142
152
|
declare const defaultExclude: {
|
|
143
|
-
readonly modules: ({
|
|
144
|
-
|
|
145
|
-
}: ResolveArgs) => boolean;
|
|
146
|
-
readonly
|
|
147
|
-
path
|
|
148
|
-
}: ResolveArgs) => boolean;
|
|
149
|
-
readonly build: ({
|
|
150
|
-
path
|
|
151
|
-
}: ResolveArgs) => boolean;
|
|
152
|
-
readonly types: ({
|
|
153
|
-
import: imp
|
|
154
|
-
}: ResolveArgs) => boolean;
|
|
153
|
+
readonly modules: ({ path }: ResolveArgs) => boolean;
|
|
154
|
+
readonly dist: ({ path }: ResolveArgs) => boolean;
|
|
155
|
+
readonly build: ({ path }: ResolveArgs) => boolean;
|
|
156
|
+
readonly types: ({ import: imp }: ResolveArgs) => boolean;
|
|
155
157
|
};
|
|
156
158
|
type DefaultExclude = typeof defaultExclude;
|
|
157
159
|
//#endregion
|
|
@@ -262,5 +264,5 @@ interface ResolvedConfig {
|
|
|
262
264
|
*/
|
|
263
265
|
declare function defineConfig(config: UserConfig): ResolvedConfig;
|
|
264
266
|
//#endregion
|
|
265
|
-
export {
|
|
266
|
-
//# sourceMappingURL=configuration-
|
|
267
|
+
export { po as A, ProcessHook as C, StaticPlugin as D, UniversalPlugin as E, cleanup$1 as F, Logger as I, react$1 as M, po$1 as N, cleanup as O, core$1 as P, ProcessArgs as S, SourceArgs as T, LoadArgs as _, ExcludeFn as a, OutputsHook as b, ResolvedEntrypoint as c, Build as d, CollectedArgs as f, ImportReference as g, FileTranslations as h, ExcludeConfig as i, react as j, core as k, UserConfig as l, Context as m, EntrypointConfig as n, ObsoleteStrategy as o, CollectedHook as p, Exclude as r, ResolvedConfig as s, DestinationFn as t, defineConfig as u, LoadHook as v, ResolveArgs as w, Plugin as x, OutputsArgs as y };
|
|
268
|
+
//# sourceMappingURL=configuration-Bwtek7Fh.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"configuration-Bwtek7Fh.d.mts","names":[],"sources":["../src/logger.ts","../src/plugins/core/queries/types.ts","../src/plugins/cleanup/cleanup.ts","../src/plugins/core/core.ts","../src/plugins/po/po.ts","../src/plugins/react/react.ts","../src/static.ts","../src/plugin.ts","../src/exclude.ts","../src/configuration.ts"],"mappings":";;;;KAIY,SAAS,IAAI;KACb,gBAAgB,IAAI;KACpB,WAAW;;;UCHN;EACb;EACA;EACA;EACA;EACA;;UAGa;EACb;EACA;EACA;EACA;EACA,WAAW;EACX;;;;iBCVY,aAAW;;;iBCEX,UAAQ;;;iBCCR,QAAM;;;iBCLN,WAAS;;;iBCAT,QAAQ,OAAO,kBAAkB;;;;;;iBASjC,SAAS,OAAO,kBAAkB;;;;;;iBAQlC,MAAM,OAAO,kBAAkB;;;;;;iBAS/B,WAAW,OAAO,kBAAkB;;;;;;KASxC,eACN,kBAAkB,QAClB,kBAAkB,SAClB,kBAAkB,MAClB,kBAAkB;;;KCvCnB,aAAa,KAAK,IAAI,QAAQ;UAElB;EACb,QAAQ;EACR,aAAa;;EAEb,OAAO;EACP,SAAS;;UAGI;EACb;EACA;EACA;;;UAIa,YAAY;EACzB;EACA;EACA;EACA,SAAS;EACT,OAAO;;UAGM;EACb;EACA;EACA,SAAS;;UAGI;EACb;EACA;;;KAIQ,YAAY,MAAM,aAAa;UAE1B;EACb;EACA;EACA;;EAEA,KAAK,cAAc;;;KAIX,eAAe,MAAM,gBAAgB;UAEhC;EACb;EACA,cAAc;;UAGD;EACb;;EAEA,OAAO;;;;;;;EAOP,OAAO,cAAc,eAAe;;;KAI5B,iBAAiB,MAAM,kBAAkB;UAEpC;;EAEb;;;KAIQ,eAAe,MAAM,gBAAgB;UAEhC;EACb,SAAS;;;;;;;EAOT,OAAO,MAAM;EACb,OAAO,QAAQ,QAAQ,MAAM;EAC7B,UAAU,QAAQ,QAAQ,MAAM;EAChC,YAAY,MAAM;EAClB,UAAU,MAAM;;UAGH;EACb;EACA,MAAM,OAAO;;KAGL,kBAAkB,SAAS;;;cC3F1B;WACW,YAAA,QAAA;WACH,SAAA,QAAA;WACC,UAAA,QAAA;WACO,UAAA,QAAA,OAAA;;KAGjB,wBAAwB;;;KCZxB,iBAAiB;EAAQ;EAAgB;EAAoB;;KAC7D,aAAa,MAAM;KACnB,UAAU,SAAS;KACnB,gBAAgB,SAAS,cAAc,gBAAgB,mBAAmB;cAEhF;;;;;KACD,wBAAwB;;;;;;KAOjB;UAEK;EACb;EACA,cAAc;EACd,WAAW;EACX;EACA,UAAU;;UAGG;;;;;;EAMb,gBAAgB;;;;;;EAMhB,UAAU;;;;;;EAMV,UAAU,sBAAsB,gBAAgB,mBAAmB;;;;;;;;EAQnE,sBAAsB,mBAAmB,eAAe;;;;;;;EAOxD,cAAc;;;;;;;EAOd,WAAW;;;;;;EAMX;;;;;;EAMA,UAAU;;;;;EAKV,WAAW;;UAGE,2BAA2B,KAAK;EAC7C,UAAU;;UAGG;EACb,SAAS;EACT,aAAa;EACb;EACA;EACA,aAAa;EACb,UAAU;EACV;EACA,UAAU;EACV,SAAS;;;;;;iBA+CG,aAAa,QAAQ,aAAa"}
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import { PluralFormsLocale } from "@let-value/translate";
|
|
2
2
|
import log from "loglevel";
|
|
3
|
+
import "@keqingmoe/tree-sitter";
|
|
3
4
|
//#region src/logger.d.ts
|
|
4
5
|
type Logger = log.Logger;
|
|
5
6
|
type LogLevelNames = log.LogLevelNames;
|
|
6
7
|
type LogLevel = LogLevelNames;
|
|
7
8
|
//#endregion
|
|
8
|
-
//#region src/plugins/cleanup/cleanup.d.ts
|
|
9
|
-
declare function cleanup$1(): Plugin;
|
|
10
|
-
//#endregion
|
|
11
9
|
//#region src/plugins/core/queries/types.d.ts
|
|
12
10
|
interface Comments {
|
|
13
11
|
translator?: string;
|
|
@@ -25,14 +23,17 @@ interface Translation {
|
|
|
25
23
|
obsolete?: boolean;
|
|
26
24
|
}
|
|
27
25
|
//#endregion
|
|
26
|
+
//#region src/plugins/cleanup/cleanup.d.ts
|
|
27
|
+
declare function cleanup$1(): Plugin;
|
|
28
|
+
//#endregion
|
|
28
29
|
//#region src/plugins/core/core.d.ts
|
|
29
|
-
declare function core$1(): Plugin
|
|
30
|
+
declare function core$1(): Plugin;
|
|
30
31
|
//#endregion
|
|
31
32
|
//#region src/plugins/po/po.d.ts
|
|
32
33
|
declare function po$1(): Plugin;
|
|
33
34
|
//#endregion
|
|
34
35
|
//#region src/plugins/react/react.d.ts
|
|
35
|
-
declare function react$1(): Plugin
|
|
36
|
+
declare function react$1(): Plugin;
|
|
36
37
|
//#endregion
|
|
37
38
|
//#region src/static.d.ts
|
|
38
39
|
declare function core(...props: Parameters<typeof core$1>): {
|
|
@@ -66,6 +67,7 @@ type MaybePromise<T> = T | Promise<T>;
|
|
|
66
67
|
interface Context {
|
|
67
68
|
config: ResolvedConfig;
|
|
68
69
|
generatedAt: Date;
|
|
70
|
+
/** Entrypoint roots discovered in this run (including promoted ones). */
|
|
69
71
|
paths: Set<string>;
|
|
70
72
|
logger?: Logger;
|
|
71
73
|
}
|
|
@@ -74,6 +76,7 @@ interface ImportReference {
|
|
|
74
76
|
kind: "static" | "dynamic";
|
|
75
77
|
typeOnly: boolean;
|
|
76
78
|
}
|
|
79
|
+
/** Arguments passed to exclude filters. */
|
|
77
80
|
interface ResolveArgs<TInput = unknown> {
|
|
78
81
|
entrypoint: string;
|
|
79
82
|
path: string;
|
|
@@ -81,75 +84,76 @@ interface ResolveArgs<TInput = unknown> {
|
|
|
81
84
|
import?: ImportReference;
|
|
82
85
|
data?: TInput;
|
|
83
86
|
}
|
|
84
|
-
interface
|
|
87
|
+
interface SourceArgs {
|
|
85
88
|
entrypoint: string;
|
|
86
89
|
path: string;
|
|
87
|
-
namespace: string;
|
|
88
90
|
import?: ImportReference;
|
|
89
|
-
data?: TInput;
|
|
90
91
|
}
|
|
91
|
-
interface LoadArgs
|
|
92
|
+
interface LoadArgs {
|
|
92
93
|
entrypoint: string;
|
|
93
94
|
path: string;
|
|
94
|
-
namespace: string;
|
|
95
|
-
data?: TInput;
|
|
96
95
|
}
|
|
97
|
-
|
|
96
|
+
/** Produces the contents of a source file; return undefined to let the next loader try. */
|
|
97
|
+
type LoadHook = (args: LoadArgs) => MaybePromise<string | undefined>;
|
|
98
|
+
interface ProcessArgs {
|
|
98
99
|
entrypoint: string;
|
|
99
100
|
path: string;
|
|
100
|
-
|
|
101
|
-
|
|
101
|
+
contents: string;
|
|
102
|
+
/** Emits translations extracted from this file. */
|
|
103
|
+
emit(translations: Translation[]): void;
|
|
102
104
|
}
|
|
103
|
-
|
|
104
|
-
|
|
105
|
+
/** Runs for every loaded source file. Return a non-undefined value to stop later processors for this file. */
|
|
106
|
+
type ProcessHook = (args: ProcessArgs) => MaybePromise<unknown>;
|
|
107
|
+
interface FileTranslations {
|
|
105
108
|
path: string;
|
|
106
|
-
|
|
107
|
-
data: TInput;
|
|
109
|
+
translations: Translation[];
|
|
108
110
|
}
|
|
109
|
-
interface
|
|
111
|
+
interface CollectedArgs {
|
|
110
112
|
entrypoint: string;
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
113
|
+
/** Translations of every processed source file of this entrypoint, one entry per file. */
|
|
114
|
+
files: FileTranslations[];
|
|
115
|
+
/**
|
|
116
|
+
* Schedules an output artifact. Every entrypoint's onCollected hook has
|
|
117
|
+
* run by the time any producer does, so a producer may read state the
|
|
118
|
+
* hook keeps across entrypoints. Outputs run in parallel; writes to the
|
|
119
|
+
* same path are serialized.
|
|
120
|
+
*/
|
|
121
|
+
output(path: string, produce: () => MaybePromise<void>): void;
|
|
114
122
|
}
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
+
/** Runs once per entrypoint, after all of its source files settled and translations are known. */
|
|
124
|
+
type CollectedHook = (args: CollectedArgs) => MaybePromise<void>;
|
|
125
|
+
interface OutputsArgs {
|
|
126
|
+
/** Every output path produced in this run, across all entrypoints. */
|
|
127
|
+
outputs: string[];
|
|
128
|
+
}
|
|
129
|
+
/** Runs once per run, after every entrypoint produced its outputs. */
|
|
130
|
+
type OutputsHook = (args: OutputsArgs) => MaybePromise<void>;
|
|
131
|
+
interface Build {
|
|
123
132
|
context: Context;
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
133
|
+
/**
|
|
134
|
+
* Discovers a source file. When `path` equals `entrypoint` a new
|
|
135
|
+
* extraction pipeline is started for it (entrypoint promotion);
|
|
136
|
+
* otherwise the file joins the given entrypoint's walk. Excluded and
|
|
137
|
+
* already-known paths are ignored.
|
|
138
|
+
*/
|
|
139
|
+
source(args: SourceArgs): void;
|
|
140
|
+
onLoad(filter: RegExp, hook: LoadHook): void;
|
|
141
|
+
onProcess(filter: RegExp, hook: ProcessHook): void;
|
|
142
|
+
onCollected(hook: CollectedHook): void;
|
|
143
|
+
onOutputs(hook: OutputsHook): void;
|
|
132
144
|
}
|
|
133
|
-
interface Plugin
|
|
145
|
+
interface Plugin {
|
|
134
146
|
name: string;
|
|
135
|
-
setup(build: Build
|
|
147
|
+
setup(build: Build): void;
|
|
136
148
|
}
|
|
137
149
|
type UniversalPlugin = Plugin | StaticPlugin;
|
|
138
150
|
//#endregion
|
|
139
151
|
//#region src/exclude.d.ts
|
|
140
152
|
declare const defaultExclude: {
|
|
141
|
-
readonly modules: ({
|
|
142
|
-
|
|
143
|
-
}: ResolveArgs) => boolean;
|
|
144
|
-
readonly
|
|
145
|
-
path
|
|
146
|
-
}: ResolveArgs) => boolean;
|
|
147
|
-
readonly build: ({
|
|
148
|
-
path
|
|
149
|
-
}: ResolveArgs) => boolean;
|
|
150
|
-
readonly types: ({
|
|
151
|
-
import: imp
|
|
152
|
-
}: ResolveArgs) => boolean;
|
|
153
|
+
readonly modules: ({ path }: ResolveArgs) => boolean;
|
|
154
|
+
readonly dist: ({ path }: ResolveArgs) => boolean;
|
|
155
|
+
readonly build: ({ path }: ResolveArgs) => boolean;
|
|
156
|
+
readonly types: ({ import: imp }: ResolveArgs) => boolean;
|
|
153
157
|
};
|
|
154
158
|
type DefaultExclude = typeof defaultExclude;
|
|
155
159
|
//#endregion
|
|
@@ -260,5 +264,5 @@ interface ResolvedConfig {
|
|
|
260
264
|
*/
|
|
261
265
|
declare function defineConfig(config: UserConfig): ResolvedConfig;
|
|
262
266
|
//#endregion
|
|
263
|
-
export {
|
|
264
|
-
//# sourceMappingURL=configuration-
|
|
267
|
+
export { po as A, ProcessHook as C, StaticPlugin as D, UniversalPlugin as E, cleanup$1 as F, Logger as I, react$1 as M, po$1 as N, cleanup as O, core$1 as P, ProcessArgs as S, SourceArgs as T, LoadArgs as _, ExcludeFn as a, OutputsHook as b, ResolvedEntrypoint as c, Build as d, CollectedArgs as f, ImportReference as g, FileTranslations as h, ExcludeConfig as i, react as j, core as k, UserConfig as l, Context as m, EntrypointConfig as n, ObsoleteStrategy as o, CollectedHook as p, Exclude as r, ResolvedConfig as s, DestinationFn as t, defineConfig as u, LoadHook as v, ResolveArgs as w, Plugin as x, OutputsArgs as y };
|
|
268
|
+
//# sourceMappingURL=configuration-DLSMbmU5.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"configuration-DLSMbmU5.d.cts","names":[],"sources":["../src/logger.ts","../src/plugins/core/queries/types.ts","../src/plugins/cleanup/cleanup.ts","../src/plugins/core/core.ts","../src/plugins/po/po.ts","../src/plugins/react/react.ts","../src/static.ts","../src/plugin.ts","../src/exclude.ts","../src/configuration.ts"],"mappings":";;;;KAIY,SAAS,IAAI;KACb,gBAAgB,IAAI;KACpB,WAAW;;;UCHN;EACb;EACA;EACA;EACA;EACA;;UAGa;EACb;EACA;EACA;EACA;EACA,WAAW;EAC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