@rollipop/rolldown 0.0.0-beta.3 → 1.0.0-rc.1
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/cli-setup.mjs +1 -1
- package/dist/cli.mjs +121 -114
- package/dist/config.d.mts +2 -2
- package/dist/config.mjs +8 -8
- package/dist/experimental-index.d.mts +43 -43
- package/dist/experimental-index.mjs +6 -6
- package/dist/filter-index.d.mts +197 -4
- package/dist/filter-index.mjs +1 -1
- package/dist/get-log-filter.d.mts +3 -3
- package/dist/index.d.mts +4 -4
- package/dist/index.mjs +27 -8
- package/dist/parallel-plugin-worker.mjs +4 -4
- package/dist/parallel-plugin.d.mts +4 -4
- package/dist/parse-ast-index.d.mts +1 -1
- package/dist/parse-ast-index.mjs +2 -2
- package/dist/plugins-index.d.mts +3 -4
- package/dist/plugins-index.mjs +3 -3
- package/dist/shared/binding-B92Lq__Q.d.mts +1687 -0
- package/dist/shared/{binding-uOeDeDzp.mjs → binding-tNJoEqAa.mjs} +28 -26
- package/dist/shared/{bindingify-input-options-CuBDHglZ.mjs → bindingify-input-options-CfhrNd_y.mjs} +117 -58
- package/dist/shared/{constructors-D9F4Aj4h.d.mts → constructors--k1uxZrh.d.mts} +2 -2
- package/dist/shared/{constructors-DmSv3tnW.mjs → constructors-414MPkgB.mjs} +1 -1
- package/dist/shared/define-config-D8xP5iyL.d.mts +3463 -0
- package/dist/shared/{load-config-Bo3y98vw.mjs → load-config-Qtd9pHJ5.mjs} +1 -1
- package/dist/shared/logging-wIy4zY9I.d.mts +50 -0
- package/dist/shared/{normalize-string-or-regex-0f6WITto.mjs → normalize-string-or-regex-DeB7vQ75.mjs} +2 -2
- package/dist/shared/{parse-ast-index-B0iVLbj6.mjs → parse-ast-index-BcP4Ts_P.mjs} +3 -3
- package/dist/shared/{prompt-BZ-QjPVS.mjs → prompt-tlfjalEt.mjs} +1 -1
- package/dist/shared/rolldown-BMzJcmQ7.mjs +42 -0
- package/dist/shared/{rolldown-build-BqHWBpp7.mjs → rolldown-build-DWeKtJOy.mjs} +123 -47
- package/dist/shared/{watch-Ce8bKBAn.mjs → watch-HmN4U4B9.mjs} +34 -6
- package/package.json +18 -16
- package/dist/shared/binding-C9YdqoUG.d.mts +0 -1657
- package/dist/shared/define-config-glNgjHCc.d.mts +0 -2573
- package/dist/shared/logging-DsnCZi19.d.mts +0 -42
- package/dist/shared/rolldown-mAJGca5O.mjs +0 -11
- /package/dist/shared/{define-config-BF4P-Pum.mjs → define-config-BVG4QvnP.mjs} +0 -0
- /package/dist/shared/{logs-N5Akftom.mjs → logs-NH298mHo.mjs} +0 -0
- /package/dist/shared/{misc-0HsaOsAX.mjs → misc-CCZIsXVO.mjs} +0 -0
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
//#region src/log/logging.d.ts
|
|
2
|
-
/** @inline */
|
|
3
|
-
type LogLevel = "info" | "debug" | "warn";
|
|
4
|
-
/** @inline */
|
|
5
|
-
type LogLevelOption = LogLevel | "silent";
|
|
6
|
-
/** @inline */
|
|
7
|
-
type LogLevelWithError = LogLevel | "error";
|
|
8
|
-
interface RollupLog {
|
|
9
|
-
binding?: string;
|
|
10
|
-
cause?: unknown;
|
|
11
|
-
code?: string;
|
|
12
|
-
exporter?: string;
|
|
13
|
-
frame?: string;
|
|
14
|
-
hook?: string;
|
|
15
|
-
id?: string;
|
|
16
|
-
ids?: string[];
|
|
17
|
-
loc?: {
|
|
18
|
-
column: number;
|
|
19
|
-
file?: string;
|
|
20
|
-
line: number;
|
|
21
|
-
};
|
|
22
|
-
message: string;
|
|
23
|
-
meta?: any;
|
|
24
|
-
names?: string[];
|
|
25
|
-
plugin?: string;
|
|
26
|
-
pluginCode?: unknown;
|
|
27
|
-
pos?: number;
|
|
28
|
-
reexporter?: string;
|
|
29
|
-
stack?: string;
|
|
30
|
-
url?: string;
|
|
31
|
-
}
|
|
32
|
-
/** @inline */
|
|
33
|
-
type RollupLogWithString = RollupLog | string;
|
|
34
|
-
/** @category Plugin APIs */
|
|
35
|
-
interface RollupError extends RollupLog {
|
|
36
|
-
name?: string;
|
|
37
|
-
stack?: string;
|
|
38
|
-
watchFiles?: string[];
|
|
39
|
-
}
|
|
40
|
-
type LogOrStringHandler = (level: LogLevelWithError, log: RollupLogWithString) => void;
|
|
41
|
-
//#endregion
|
|
42
|
-
export { RollupLog as a, RollupError as i, LogLevelOption as n, RollupLogWithString as o, LogOrStringHandler as r, LogLevel as t };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { l as PluginDriver, s as validateOption, t as RolldownBuild } from "./rolldown-build-BqHWBpp7.mjs";
|
|
2
|
-
|
|
3
|
-
//#region src/api/rolldown/index.ts
|
|
4
|
-
/** @category Programmatic APIs */
|
|
5
|
-
const rolldown = async (input) => {
|
|
6
|
-
validateOption("input", input);
|
|
7
|
-
return new RolldownBuild(await PluginDriver.callOptionsHook(input));
|
|
8
|
-
};
|
|
9
|
-
|
|
10
|
-
//#endregion
|
|
11
|
-
export { rolldown as t };
|
|
File without changes
|
|
File without changes
|
|
File without changes
|