@powerlines/plugin-rolldown 0.7.308 → 0.7.309
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/build-CaB54E40.d.mts +8 -0
- package/dist/build-CaB54E40.d.mts.map +1 -0
- package/dist/build-DJTI0ZMx.cjs +0 -0
- package/dist/build-XTM4L3VY.mjs +1 -0
- package/dist/build-uc1j2t5S.d.cts +8 -0
- package/dist/build-uc1j2t5S.d.cts.map +1 -0
- package/dist/helpers/index.cjs +5 -4
- package/dist/helpers/index.d.cts +5 -2
- package/dist/helpers/index.d.mts +5 -2
- package/dist/helpers/index.mjs +3 -2
- package/dist/helpers/resolve-options.cjs +2 -121
- package/dist/helpers/resolve-options.d.cts +2 -15
- package/dist/helpers/resolve-options.d.mts +2 -16
- package/dist/helpers/resolve-options.mjs +2 -116
- package/dist/helpers/unplugin.cjs +2 -11
- package/dist/helpers/unplugin.d.cts +4 -8
- package/dist/helpers/unplugin.d.mts +4 -8
- package/dist/helpers/unplugin.mjs +2 -11
- package/dist/helpers-C9XSjwSZ.mjs +1 -0
- package/dist/helpers-yB1XkvQI.cjs +0 -0
- package/dist/index-B_e8BwCm.d.cts +1 -0
- package/dist/index-CW2WHUXP.d.mts +1 -0
- package/dist/index-Cc7fCJU9.d.mts +1 -0
- package/dist/index-CiBIKhMu.d.cts +1 -0
- package/dist/index.cjs +10 -8
- package/dist/index.d.cts +7 -5
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +7 -7
- package/dist/index.mjs +6 -3
- package/dist/index.mjs.map +1 -1
- package/dist/plugin-BQOzukLC.d.cts +19 -0
- package/dist/plugin-BQOzukLC.d.cts.map +1 -0
- package/dist/plugin-D3B5E_Hg.mjs +1 -0
- package/dist/plugin-D3N0bR7F.d.mts +19 -0
- package/dist/plugin-D3N0bR7F.d.mts.map +1 -0
- package/dist/plugin-D5qyQPqC.cjs +0 -0
- package/dist/resolve-options-BP1XPpj1.cjs +159 -0
- package/dist/resolve-options-ClTjRIOD.d.cts +15 -0
- package/dist/resolve-options-ClTjRIOD.d.cts.map +1 -0
- package/dist/resolve-options-CzRjKLxB.mjs +117 -0
- package/dist/resolve-options-CzRjKLxB.mjs.map +1 -0
- package/dist/resolve-options-U3hiur0w.d.mts +15 -0
- package/dist/resolve-options-U3hiur0w.d.mts.map +1 -0
- package/dist/types/build.cjs +1 -0
- package/dist/types/build.d.cts +2 -8
- package/dist/types/build.d.mts +2 -8
- package/dist/types/build.mjs +2 -0
- package/dist/types/index.cjs +3 -0
- package/dist/types/index.d.cts +3 -2
- package/dist/types/index.d.mts +3 -2
- package/dist/types/index.mjs +4 -0
- package/dist/types/plugin.cjs +1 -0
- package/dist/types/plugin.d.cts +3 -20
- package/dist/types/plugin.d.mts +3 -21
- package/dist/types/plugin.mjs +2 -0
- package/dist/types-D208vOSb.cjs +0 -0
- package/dist/types-Dv2cgIDx.mjs +1 -0
- package/dist/unplugin-BVk-EAp1.mjs +11 -0
- package/dist/unplugin-BVk-EAp1.mjs.map +1 -0
- package/dist/unplugin-C5_LWDUG.cjs +16 -0
- package/dist/unplugin-CS3iXz6Q.d.cts +8 -0
- package/dist/unplugin-CS3iXz6Q.d.cts.map +1 -0
- package/dist/unplugin-muEZreqz.d.mts +8 -0
- package/dist/unplugin-muEZreqz.d.mts.map +1 -0
- package/package.json +5 -5
- package/dist/_virtual/rolldown_runtime.cjs +0 -29
- package/dist/core/src/lib/logger.cjs +0 -41
- package/dist/core/src/lib/logger.mjs +0 -40
- package/dist/core/src/lib/logger.mjs.map +0 -1
- package/dist/core/src/lib/unplugin/helpers.cjs +0 -19
- package/dist/core/src/lib/unplugin/helpers.mjs +0 -19
- package/dist/core/src/lib/unplugin/helpers.mjs.map +0 -1
- package/dist/core/src/lib/unplugin/index.cjs +0 -3
- package/dist/core/src/lib/unplugin/index.mjs +0 -5
- package/dist/core/src/lib/unplugin/module-resolution.cjs +0 -66
- package/dist/core/src/lib/unplugin/module-resolution.mjs +0 -66
- package/dist/core/src/lib/unplugin/module-resolution.mjs.map +0 -1
- package/dist/core/src/lib/unplugin/plugin.cjs +0 -71
- package/dist/core/src/lib/unplugin/plugin.mjs +0 -71
- package/dist/core/src/lib/unplugin/plugin.mjs.map +0 -1
- package/dist/core/src/lib/utilities/source-file.cjs +0 -22
- package/dist/core/src/lib/utilities/source-file.mjs +0 -21
- package/dist/core/src/lib/utilities/source-file.mjs.map +0 -1
- package/dist/core/src/types/api.d.cts +0 -103
- package/dist/core/src/types/api.d.cts.map +0 -1
- package/dist/core/src/types/api.d.mts +0 -103
- package/dist/core/src/types/api.d.mts.map +0 -1
- package/dist/core/src/types/commands.d.cts +0 -9
- package/dist/core/src/types/commands.d.cts.map +0 -1
- package/dist/core/src/types/commands.d.mts +0 -10
- package/dist/core/src/types/commands.d.mts.map +0 -1
- package/dist/core/src/types/config.d.cts +0 -551
- package/dist/core/src/types/config.d.cts.map +0 -1
- package/dist/core/src/types/config.d.mts +0 -551
- package/dist/core/src/types/config.d.mts.map +0 -1
- package/dist/core/src/types/context.d.cts +0 -511
- package/dist/core/src/types/context.d.cts.map +0 -1
- package/dist/core/src/types/context.d.mts +0 -511
- package/dist/core/src/types/context.d.mts.map +0 -1
- package/dist/core/src/types/fs.d.cts +0 -487
- package/dist/core/src/types/fs.d.cts.map +0 -1
- package/dist/core/src/types/fs.d.mts +0 -487
- package/dist/core/src/types/fs.d.mts.map +0 -1
- package/dist/core/src/types/hooks.d.cts +0 -99
- package/dist/core/src/types/hooks.d.cts.map +0 -1
- package/dist/core/src/types/hooks.d.mts +0 -99
- package/dist/core/src/types/hooks.d.mts.map +0 -1
- package/dist/core/src/types/index.d.mts +0 -9
- package/dist/core/src/types/plugin.d.cts +0 -204
- package/dist/core/src/types/plugin.d.cts.map +0 -1
- package/dist/core/src/types/plugin.d.mts +0 -204
- package/dist/core/src/types/plugin.d.mts.map +0 -1
- package/dist/core/src/types/tsconfig.d.cts +0 -70
- package/dist/core/src/types/tsconfig.d.cts.map +0 -1
- package/dist/core/src/types/tsconfig.d.mts +0 -70
- package/dist/core/src/types/tsconfig.d.mts.map +0 -1
- package/dist/core/src/types/unplugin.cjs +0 -21
- package/dist/core/src/types/unplugin.d.cts +0 -24
- package/dist/core/src/types/unplugin.d.cts.map +0 -1
- package/dist/core/src/types/unplugin.d.mts +0 -25
- package/dist/core/src/types/unplugin.d.mts.map +0 -1
- package/dist/core/src/types/unplugin.mjs +0 -22
- package/dist/core/src/types/unplugin.mjs.map +0 -1
- package/dist/helpers/resolve-options.d.cts.map +0 -1
- package/dist/helpers/resolve-options.d.mts.map +0 -1
- package/dist/helpers/resolve-options.mjs.map +0 -1
- package/dist/helpers/unplugin.d.cts.map +0 -1
- package/dist/helpers/unplugin.d.mts.map +0 -1
- package/dist/helpers/unplugin.mjs.map +0 -1
- package/dist/plugin-rollup/src/helpers/resolve-options.cjs +0 -43
- package/dist/plugin-rollup/src/helpers/resolve-options.mjs +0 -38
- package/dist/plugin-rollup/src/helpers/resolve-options.mjs.map +0 -1
- package/dist/types/build.d.cts.map +0 -1
- package/dist/types/build.d.mts.map +0 -1
- package/dist/types/plugin.d.cts.map +0 -1
- package/dist/types/plugin.d.mts.map +0 -1
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { RolldownOptions } from "rolldown";
|
|
2
|
+
|
|
3
|
+
//#region src/types/build.d.ts
|
|
4
|
+
type RolldownOptions$1 = Omit<RolldownOptions, "input" | "external" | "tsconfig" | "logLevel" | "output">;
|
|
5
|
+
declare type __ΩRolldownOptions = any[];
|
|
6
|
+
//#endregion
|
|
7
|
+
export { __ΩRolldownOptions as n, RolldownOptions$1 as t };
|
|
8
|
+
//# sourceMappingURL=build-CaB54E40.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"build-CaB54E40.d.mts","names":[],"sources":["../src/types/build.ts"],"sourcesContent":[],"mappings":";;;KAoBY,iBAAA,GAAkB,KAC5B"}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { RolldownOptions } from "rolldown";
|
|
2
|
+
|
|
3
|
+
//#region src/types/build.d.ts
|
|
4
|
+
type RolldownOptions$1 = Omit<RolldownOptions, "input" | "external" | "tsconfig" | "logLevel" | "output">;
|
|
5
|
+
declare type __ΩRolldownOptions = any[];
|
|
6
|
+
//#endregion
|
|
7
|
+
export { __ΩRolldownOptions as n, RolldownOptions$1 as t };
|
|
8
|
+
//# sourceMappingURL=build-uc1j2t5S.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"build-uc1j2t5S.d.cts","names":[],"sources":["../src/types/build.ts"],"sourcesContent":[],"mappings":";;;KAoBY,iBAAA,GAAkB,KAC5B"}
|
package/dist/helpers/index.cjs
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
const
|
|
2
|
-
const
|
|
1
|
+
const require_resolve_options = require('../resolve-options-BP1XPpj1.cjs');
|
|
2
|
+
const require_unplugin = require('../unplugin-C5_LWDUG.cjs');
|
|
3
|
+
require('../helpers-yB1XkvQI.cjs');
|
|
3
4
|
|
|
4
|
-
exports.createRolldownPlugin =
|
|
5
|
-
exports.resolveOptions =
|
|
5
|
+
exports.createRolldownPlugin = require_unplugin.createRolldownPlugin;
|
|
6
|
+
exports.resolveOptions = require_resolve_options.resolveOptions;
|
package/dist/helpers/index.d.cts
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
-
import { resolveOptions } from "
|
|
2
|
-
import
|
|
1
|
+
import { t as resolveOptions } from "../resolve-options-ClTjRIOD.cjs";
|
|
2
|
+
import "../build-uc1j2t5S.cjs";
|
|
3
|
+
import "../plugin-BQOzukLC.cjs";
|
|
4
|
+
import { t as createRolldownPlugin } from "../unplugin-CS3iXz6Q.cjs";
|
|
5
|
+
import "../index-CiBIKhMu.cjs";
|
|
3
6
|
export { createRolldownPlugin, resolveOptions };
|
package/dist/helpers/index.d.mts
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
-
import { resolveOptions } from "
|
|
2
|
-
import
|
|
1
|
+
import { t as resolveOptions } from "../resolve-options-U3hiur0w.mjs";
|
|
2
|
+
import "../build-CaB54E40.mjs";
|
|
3
|
+
import "../plugin-D3N0bR7F.mjs";
|
|
4
|
+
import { t as createRolldownPlugin } from "../unplugin-muEZreqz.mjs";
|
|
5
|
+
import "../index-CW2WHUXP.mjs";
|
|
3
6
|
export { createRolldownPlugin, resolveOptions };
|
package/dist/helpers/index.mjs
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { resolveOptions } from "
|
|
2
|
-
import { createRolldownPlugin } from "
|
|
1
|
+
import { t as resolveOptions } from "../resolve-options-CzRjKLxB.mjs";
|
|
2
|
+
import { t as createRolldownPlugin } from "../unplugin-BVk-EAp1.mjs";
|
|
3
|
+
import "../helpers-C9XSjwSZ.mjs";
|
|
3
4
|
|
|
4
5
|
export { createRolldownPlugin, resolveOptions };
|
|
@@ -1,122 +1,3 @@
|
|
|
1
|
-
const
|
|
2
|
-
const require_resolve_options = require('../plugin-rollup/src/helpers/resolve-options.cjs');
|
|
3
|
-
let __stryke_convert_to_array = require("@stryke/convert/to-array");
|
|
4
|
-
let defu = require("defu");
|
|
5
|
-
defu = require_rolldown_runtime.__toESM(defu);
|
|
6
|
-
let __rollup_plugin_babel = require("@rollup/plugin-babel");
|
|
7
|
-
let __rollup_plugin_inject = require("@rollup/plugin-inject");
|
|
8
|
-
__rollup_plugin_inject = require_rolldown_runtime.__toESM(__rollup_plugin_inject);
|
|
9
|
-
let __rollup_plugin_node_resolve = require("@rollup/plugin-node-resolve");
|
|
10
|
-
__rollup_plugin_node_resolve = require_rolldown_runtime.__toESM(__rollup_plugin_node_resolve);
|
|
11
|
-
let __rollup_plugin_replace = require("@rollup/plugin-replace");
|
|
12
|
-
__rollup_plugin_replace = require_rolldown_runtime.__toESM(__rollup_plugin_replace);
|
|
13
|
-
let __stryke_path_join_paths = require("@stryke/path/join-paths");
|
|
14
|
-
let __stryke_type_checks_is_string = require("@stryke/type-checks/is-string");
|
|
15
|
-
let node_fs = require("node:fs");
|
|
16
|
-
let rollup_plugin_typescript2 = require("rollup-plugin-typescript2");
|
|
17
|
-
rollup_plugin_typescript2 = require_rolldown_runtime.__toESM(rollup_plugin_typescript2);
|
|
18
|
-
let __stryke_path_append = require("@stryke/path/append");
|
|
19
|
-
let rolldown_experimental = require("rolldown/experimental");
|
|
1
|
+
const require_resolve_options = require('../resolve-options-BP1XPpj1.cjs');
|
|
20
2
|
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* Resolves the options for [rolldown](https://rolldown.rs).
|
|
24
|
-
*
|
|
25
|
-
* @param context - The build context.
|
|
26
|
-
* @returns The resolved options.
|
|
27
|
-
*/
|
|
28
|
-
function resolveOptions(context) {
|
|
29
|
-
return (0, defu.default)({
|
|
30
|
-
input: (0, node_fs.globSync)((0, __stryke_convert_to_array.toArray)(context.entry).map((entry) => (0, __stryke_type_checks_is_string.isString)(entry) ? entry : entry.file)).flat(),
|
|
31
|
-
external: (source) => {
|
|
32
|
-
if (context.config.resolve.external && (0, __stryke_convert_to_array.toArray)(context.config.resolve.external).includes(source)) return true;
|
|
33
|
-
if (context.config.resolve.noExternal && (0, __stryke_convert_to_array.toArray)(context.config.resolve.noExternal).includes(source)) return false;
|
|
34
|
-
if (context.builtins.includes(source)) return context.config.projectType !== "application";
|
|
35
|
-
return !context.config.resolve.skipNodeModulesBundle;
|
|
36
|
-
},
|
|
37
|
-
plugins: [
|
|
38
|
-
(0, rollup_plugin_typescript2.default)({
|
|
39
|
-
check: false,
|
|
40
|
-
tsconfig: context.tsconfig.tsconfigFilePath
|
|
41
|
-
}),
|
|
42
|
-
context.config.define && Object.keys(context.config.define).length > 0 && (0, __rollup_plugin_replace.default)({
|
|
43
|
-
sourceMap: context.config.mode === "development",
|
|
44
|
-
preventAssignment: true,
|
|
45
|
-
...context.config.define ?? {}
|
|
46
|
-
}),
|
|
47
|
-
context.config.inject && Object.keys(context.config.inject).length > 0 && (0, __rollup_plugin_inject.default)({
|
|
48
|
-
sourceMap: context.config.mode === "development",
|
|
49
|
-
...context.config.inject
|
|
50
|
-
}),
|
|
51
|
-
(0, rolldown_experimental.viteAliasPlugin)({ entries: Object.entries(context.alias).reduce((ret, [id, path]) => {
|
|
52
|
-
if (!ret.find((e) => e.find === id)) ret.push({
|
|
53
|
-
find: id,
|
|
54
|
-
replacement: path
|
|
55
|
-
});
|
|
56
|
-
else context.warn(`Duplicate alias entry for '${id}' detected. The first entry will be used.`);
|
|
57
|
-
return ret;
|
|
58
|
-
}, []) }),
|
|
59
|
-
context.config.babel && (0, __rollup_plugin_babel.getBabelInputPlugin)((0, defu.default)(context.config.babel, {
|
|
60
|
-
caller: {
|
|
61
|
-
name: "powerlines",
|
|
62
|
-
supportsStaticESM: true
|
|
63
|
-
},
|
|
64
|
-
cwd: context.config.root,
|
|
65
|
-
babelrc: false,
|
|
66
|
-
extensions: [
|
|
67
|
-
".js",
|
|
68
|
-
".jsx",
|
|
69
|
-
".ts",
|
|
70
|
-
".tsx"
|
|
71
|
-
],
|
|
72
|
-
babelHelpers: "bundled",
|
|
73
|
-
skipPreflightCheck: true,
|
|
74
|
-
exclude: /node_modules/
|
|
75
|
-
})),
|
|
76
|
-
(0, __rollup_plugin_node_resolve.default)({
|
|
77
|
-
moduleDirectories: ["node_modules"],
|
|
78
|
-
preferBuiltins: true
|
|
79
|
-
}),
|
|
80
|
-
require_resolve_options.dtsBundlePlugin
|
|
81
|
-
]
|
|
82
|
-
}, context.config?.rolldown ? context.config?.rolldown : {}, context.config?.rollup ? context.config?.rollup : {}, {
|
|
83
|
-
resolve: {
|
|
84
|
-
alias: context.alias,
|
|
85
|
-
mainFields: context.config.resolve.mainFields,
|
|
86
|
-
conditions: context.config.resolve.conditions,
|
|
87
|
-
define: context.config.define,
|
|
88
|
-
extensions: context.config.resolve.extensions
|
|
89
|
-
},
|
|
90
|
-
transform: {
|
|
91
|
-
define: context.config.define,
|
|
92
|
-
inject: context.config.inject
|
|
93
|
-
},
|
|
94
|
-
platform: context.config.platform,
|
|
95
|
-
tsconfig: (0, __stryke_path_append.appendPath)(context.tsconfig.tsconfigFilePath, context.workspaceConfig.workspaceRoot),
|
|
96
|
-
cache: !context.config.skipCache ? (0, __stryke_path_join_paths.joinPaths)(context.cachePath, "rolldown") : false,
|
|
97
|
-
logLevel: context.config.logLevel,
|
|
98
|
-
onLog(level, log) {
|
|
99
|
-
if (log.message?.trim()) context.log(level === "info" ? "debug" : level, log.message?.trim() ?? "");
|
|
100
|
-
},
|
|
101
|
-
minify: context.config.mode === "production",
|
|
102
|
-
output: [{
|
|
103
|
-
dir: context.config.output.buildPath,
|
|
104
|
-
format: "es",
|
|
105
|
-
preserveModules: true,
|
|
106
|
-
sourcemap: context.config.mode === "development"
|
|
107
|
-
}, {
|
|
108
|
-
dir: context.config.output.buildPath,
|
|
109
|
-
format: "cjs",
|
|
110
|
-
preserveModules: true,
|
|
111
|
-
sourcemap: context.config.mode === "development"
|
|
112
|
-
}]
|
|
113
|
-
}, {
|
|
114
|
-
keepNames: true,
|
|
115
|
-
treeshake: true,
|
|
116
|
-
shimMissingExports: true,
|
|
117
|
-
transform: { target: "esnext" }
|
|
118
|
-
});
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
//#endregion
|
|
122
|
-
exports.resolveOptions = resolveOptions;
|
|
3
|
+
exports.resolveOptions = require_resolve_options.resolveOptions;
|
|
@@ -1,15 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
//#region src/helpers/resolve-options.d.ts
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* Resolves the options for [rolldown](https://rolldown.rs).
|
|
8
|
-
*
|
|
9
|
-
* @param context - The build context.
|
|
10
|
-
* @returns The resolved options.
|
|
11
|
-
*/
|
|
12
|
-
declare function resolveOptions(context: Context): RolldownOptions;
|
|
13
|
-
//#endregion
|
|
14
|
-
export { resolveOptions };
|
|
15
|
-
//# sourceMappingURL=resolve-options.d.cts.map
|
|
1
|
+
import { t as resolveOptions } from "../resolve-options-ClTjRIOD.cjs";
|
|
2
|
+
export { resolveOptions };
|
|
@@ -1,16 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
import { RolldownOptions } from "rolldown";
|
|
4
|
-
|
|
5
|
-
//#region src/helpers/resolve-options.d.ts
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* Resolves the options for [rolldown](https://rolldown.rs).
|
|
9
|
-
*
|
|
10
|
-
* @param context - The build context.
|
|
11
|
-
* @returns The resolved options.
|
|
12
|
-
*/
|
|
13
|
-
declare function resolveOptions(context: Context): RolldownOptions;
|
|
14
|
-
//#endregion
|
|
15
|
-
export { resolveOptions };
|
|
16
|
-
//# sourceMappingURL=resolve-options.d.mts.map
|
|
1
|
+
import { t as resolveOptions } from "../resolve-options-U3hiur0w.mjs";
|
|
2
|
+
export { resolveOptions };
|
|
@@ -1,117 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { toArray } from "@stryke/convert/to-array";
|
|
3
|
-
import defu from "defu";
|
|
4
|
-
import { getBabelInputPlugin } from "@rollup/plugin-babel";
|
|
5
|
-
import inject from "@rollup/plugin-inject";
|
|
6
|
-
import resolve from "@rollup/plugin-node-resolve";
|
|
7
|
-
import replace from "@rollup/plugin-replace";
|
|
8
|
-
import { joinPaths } from "@stryke/path/join-paths";
|
|
9
|
-
import { isString } from "@stryke/type-checks/is-string";
|
|
10
|
-
import { globSync } from "node:fs";
|
|
11
|
-
import typescriptPlugin from "rollup-plugin-typescript2";
|
|
12
|
-
import { appendPath } from "@stryke/path/append";
|
|
13
|
-
import { viteAliasPlugin } from "rolldown/experimental";
|
|
1
|
+
import { t as resolveOptions } from "../resolve-options-CzRjKLxB.mjs";
|
|
14
2
|
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* Resolves the options for [rolldown](https://rolldown.rs).
|
|
18
|
-
*
|
|
19
|
-
* @param context - The build context.
|
|
20
|
-
* @returns The resolved options.
|
|
21
|
-
*/
|
|
22
|
-
function resolveOptions(context) {
|
|
23
|
-
return defu({
|
|
24
|
-
input: globSync(toArray(context.entry).map((entry) => isString(entry) ? entry : entry.file)).flat(),
|
|
25
|
-
external: (source) => {
|
|
26
|
-
if (context.config.resolve.external && toArray(context.config.resolve.external).includes(source)) return true;
|
|
27
|
-
if (context.config.resolve.noExternal && toArray(context.config.resolve.noExternal).includes(source)) return false;
|
|
28
|
-
if (context.builtins.includes(source)) return context.config.projectType !== "application";
|
|
29
|
-
return !context.config.resolve.skipNodeModulesBundle;
|
|
30
|
-
},
|
|
31
|
-
plugins: [
|
|
32
|
-
typescriptPlugin({
|
|
33
|
-
check: false,
|
|
34
|
-
tsconfig: context.tsconfig.tsconfigFilePath
|
|
35
|
-
}),
|
|
36
|
-
context.config.define && Object.keys(context.config.define).length > 0 && replace({
|
|
37
|
-
sourceMap: context.config.mode === "development",
|
|
38
|
-
preventAssignment: true,
|
|
39
|
-
...context.config.define ?? {}
|
|
40
|
-
}),
|
|
41
|
-
context.config.inject && Object.keys(context.config.inject).length > 0 && inject({
|
|
42
|
-
sourceMap: context.config.mode === "development",
|
|
43
|
-
...context.config.inject
|
|
44
|
-
}),
|
|
45
|
-
viteAliasPlugin({ entries: Object.entries(context.alias).reduce((ret, [id, path]) => {
|
|
46
|
-
if (!ret.find((e) => e.find === id)) ret.push({
|
|
47
|
-
find: id,
|
|
48
|
-
replacement: path
|
|
49
|
-
});
|
|
50
|
-
else context.warn(`Duplicate alias entry for '${id}' detected. The first entry will be used.`);
|
|
51
|
-
return ret;
|
|
52
|
-
}, []) }),
|
|
53
|
-
context.config.babel && getBabelInputPlugin(defu(context.config.babel, {
|
|
54
|
-
caller: {
|
|
55
|
-
name: "powerlines",
|
|
56
|
-
supportsStaticESM: true
|
|
57
|
-
},
|
|
58
|
-
cwd: context.config.root,
|
|
59
|
-
babelrc: false,
|
|
60
|
-
extensions: [
|
|
61
|
-
".js",
|
|
62
|
-
".jsx",
|
|
63
|
-
".ts",
|
|
64
|
-
".tsx"
|
|
65
|
-
],
|
|
66
|
-
babelHelpers: "bundled",
|
|
67
|
-
skipPreflightCheck: true,
|
|
68
|
-
exclude: /node_modules/
|
|
69
|
-
})),
|
|
70
|
-
resolve({
|
|
71
|
-
moduleDirectories: ["node_modules"],
|
|
72
|
-
preferBuiltins: true
|
|
73
|
-
}),
|
|
74
|
-
dtsBundlePlugin
|
|
75
|
-
]
|
|
76
|
-
}, context.config?.rolldown ? context.config?.rolldown : {}, context.config?.rollup ? context.config?.rollup : {}, {
|
|
77
|
-
resolve: {
|
|
78
|
-
alias: context.alias,
|
|
79
|
-
mainFields: context.config.resolve.mainFields,
|
|
80
|
-
conditions: context.config.resolve.conditions,
|
|
81
|
-
define: context.config.define,
|
|
82
|
-
extensions: context.config.resolve.extensions
|
|
83
|
-
},
|
|
84
|
-
transform: {
|
|
85
|
-
define: context.config.define,
|
|
86
|
-
inject: context.config.inject
|
|
87
|
-
},
|
|
88
|
-
platform: context.config.platform,
|
|
89
|
-
tsconfig: appendPath(context.tsconfig.tsconfigFilePath, context.workspaceConfig.workspaceRoot),
|
|
90
|
-
cache: !context.config.skipCache ? joinPaths(context.cachePath, "rolldown") : false,
|
|
91
|
-
logLevel: context.config.logLevel,
|
|
92
|
-
onLog(level, log) {
|
|
93
|
-
if (log.message?.trim()) context.log(level === "info" ? "debug" : level, log.message?.trim() ?? "");
|
|
94
|
-
},
|
|
95
|
-
minify: context.config.mode === "production",
|
|
96
|
-
output: [{
|
|
97
|
-
dir: context.config.output.buildPath,
|
|
98
|
-
format: "es",
|
|
99
|
-
preserveModules: true,
|
|
100
|
-
sourcemap: context.config.mode === "development"
|
|
101
|
-
}, {
|
|
102
|
-
dir: context.config.output.buildPath,
|
|
103
|
-
format: "cjs",
|
|
104
|
-
preserveModules: true,
|
|
105
|
-
sourcemap: context.config.mode === "development"
|
|
106
|
-
}]
|
|
107
|
-
}, {
|
|
108
|
-
keepNames: true,
|
|
109
|
-
treeshake: true,
|
|
110
|
-
shimMissingExports: true,
|
|
111
|
-
transform: { target: "esnext" }
|
|
112
|
-
});
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
//#endregion
|
|
116
|
-
export { resolveOptions };
|
|
117
|
-
//# sourceMappingURL=resolve-options.mjs.map
|
|
3
|
+
export { resolveOptions };
|
|
@@ -1,12 +1,3 @@
|
|
|
1
|
-
const
|
|
2
|
-
const require_plugin = require('../core/src/lib/unplugin/plugin.cjs');
|
|
3
|
-
require('../core/src/lib/unplugin/index.cjs');
|
|
4
|
-
let unplugin = require("unplugin");
|
|
1
|
+
const require_unplugin = require('../unplugin-C5_LWDUG.cjs');
|
|
5
2
|
|
|
6
|
-
|
|
7
|
-
function createRolldownPlugin(context) {
|
|
8
|
-
return (0, unplugin.createEsbuildPlugin)(require_plugin.createUnplugin(context))({});
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
//#endregion
|
|
12
|
-
exports.createRolldownPlugin = createRolldownPlugin;
|
|
3
|
+
exports.createRolldownPlugin = require_unplugin.createRolldownPlugin;
|
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
declare function createRolldownPlugin(context: RolldownPluginContext): esbuild0.Plugin;
|
|
6
|
-
//#endregion
|
|
7
|
-
export { createRolldownPlugin };
|
|
8
|
-
//# sourceMappingURL=unplugin.d.cts.map
|
|
1
|
+
import "../build-uc1j2t5S.cjs";
|
|
2
|
+
import "../plugin-BQOzukLC.cjs";
|
|
3
|
+
import { t as createRolldownPlugin } from "../unplugin-CS3iXz6Q.cjs";
|
|
4
|
+
export { createRolldownPlugin };
|
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
declare function createRolldownPlugin(context: RolldownPluginContext): esbuild0.Plugin;
|
|
6
|
-
//#endregion
|
|
7
|
-
export { createRolldownPlugin };
|
|
8
|
-
//# sourceMappingURL=unplugin.d.mts.map
|
|
1
|
+
import "../build-CaB54E40.mjs";
|
|
2
|
+
import "../plugin-D3N0bR7F.mjs";
|
|
3
|
+
import { t as createRolldownPlugin } from "../unplugin-muEZreqz.mjs";
|
|
4
|
+
export { createRolldownPlugin };
|
|
@@ -1,12 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "../core/src/lib/unplugin/index.mjs";
|
|
3
|
-
import { createEsbuildPlugin } from "unplugin";
|
|
1
|
+
import { t as createRolldownPlugin } from "../unplugin-BVk-EAp1.mjs";
|
|
4
2
|
|
|
5
|
-
|
|
6
|
-
function createRolldownPlugin(context) {
|
|
7
|
-
return createEsbuildPlugin(createUnplugin(context))({});
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
//#endregion
|
|
11
|
-
export { createRolldownPlugin };
|
|
12
|
-
//# sourceMappingURL=unplugin.mjs.map
|
|
3
|
+
export { createRolldownPlugin };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
package/dist/index.cjs
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
|
-
const
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
require('./
|
|
2
|
+
const require_resolve_options = require('./resolve-options-BP1XPpj1.cjs');
|
|
3
|
+
const require_unplugin = require('./unplugin-C5_LWDUG.cjs');
|
|
4
|
+
require('./helpers-yB1XkvQI.cjs');
|
|
5
|
+
require('./build-DJTI0ZMx.cjs');
|
|
6
|
+
require('./plugin-D5qyQPqC.cjs');
|
|
7
|
+
require('./types-D208vOSb.cjs');
|
|
6
8
|
let __stryke_convert_to_array = require("@stryke/convert/to-array");
|
|
7
9
|
let defu = require("defu");
|
|
8
|
-
defu =
|
|
10
|
+
defu = require_resolve_options.__toESM(defu);
|
|
9
11
|
let rolldown = require("rolldown");
|
|
10
12
|
|
|
11
13
|
//#region src/index.ts
|
|
@@ -22,7 +24,7 @@ const plugin = (options = {}) => {
|
|
|
22
24
|
};
|
|
23
25
|
},
|
|
24
26
|
async build() {
|
|
25
|
-
const result = await (0, rolldown.rolldown)((0, defu.default)({ plugins: [
|
|
27
|
+
const result = await (0, rolldown.rolldown)((0, defu.default)({ plugins: [require_unplugin.createRolldownPlugin(this)] }, require_resolve_options.resolveOptions(this)));
|
|
26
28
|
await Promise.all((0, __stryke_convert_to_array.toArray)(this.config.output.format).map(async (format) => result.write({ format })));
|
|
27
29
|
}
|
|
28
30
|
};
|
|
@@ -30,7 +32,7 @@ const plugin = (options = {}) => {
|
|
|
30
32
|
var src_default = plugin;
|
|
31
33
|
|
|
32
34
|
//#endregion
|
|
33
|
-
exports.createRolldownPlugin =
|
|
35
|
+
exports.createRolldownPlugin = require_unplugin.createRolldownPlugin;
|
|
34
36
|
exports.default = src_default;
|
|
35
37
|
exports.plugin = plugin;
|
|
36
|
-
exports.resolveOptions =
|
|
38
|
+
exports.resolveOptions = require_resolve_options.resolveOptions;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
1
|
+
import { t as resolveOptions } from "./resolve-options-ClTjRIOD.cjs";
|
|
2
|
+
import { n as __ΩRolldownOptions, t as RolldownOptions } from "./build-uc1j2t5S.cjs";
|
|
3
|
+
import { a as __ΩRolldownPluginContext, c as __ΩRolldownPluginUserConfig, i as RolldownPluginUserConfig, n as RolldownPluginOptions, o as __ΩRolldownPluginOptions, r as RolldownPluginResolvedConfig, s as __ΩRolldownPluginResolvedConfig, t as RolldownPluginContext } from "./plugin-BQOzukLC.cjs";
|
|
4
|
+
import { t as createRolldownPlugin } from "./unplugin-CS3iXz6Q.cjs";
|
|
5
|
+
import "./index-CiBIKhMu.cjs";
|
|
6
|
+
import "./index-B_e8BwCm.cjs";
|
|
7
|
+
import { Plugin } from "@powerlines/core/types/plugin";
|
|
6
8
|
|
|
7
9
|
//#region src/index.d.ts
|
|
8
10
|
/**
|
package/dist/index.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.ts"],"sourcesContent":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;;;cAoCa,0BACM,wBAAwB,iCAEhC,0BACR,OAAO"}
|
package/dist/index.d.mts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import "./
|
|
7
|
-
import "
|
|
1
|
+
import { t as resolveOptions } from "./resolve-options-U3hiur0w.mjs";
|
|
2
|
+
import { n as __ΩRolldownOptions, t as RolldownOptions } from "./build-CaB54E40.mjs";
|
|
3
|
+
import { a as __ΩRolldownPluginContext, c as __ΩRolldownPluginUserConfig, i as RolldownPluginUserConfig, n as RolldownPluginOptions, o as __ΩRolldownPluginOptions, r as RolldownPluginResolvedConfig, s as __ΩRolldownPluginResolvedConfig, t as RolldownPluginContext } from "./plugin-D3N0bR7F.mjs";
|
|
4
|
+
import { t as createRolldownPlugin } from "./unplugin-muEZreqz.mjs";
|
|
5
|
+
import "./index-CW2WHUXP.mjs";
|
|
6
|
+
import "./index-Cc7fCJU9.mjs";
|
|
7
|
+
import { Plugin } from "@powerlines/core/types/plugin";
|
|
8
8
|
|
|
9
9
|
//#region src/index.d.ts
|
|
10
10
|
/**
|
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
import { resolveOptions } from "./
|
|
2
|
-
import { createRolldownPlugin } from "./
|
|
3
|
-
import "./helpers
|
|
1
|
+
import { t as resolveOptions } from "./resolve-options-CzRjKLxB.mjs";
|
|
2
|
+
import { t as createRolldownPlugin } from "./unplugin-BVk-EAp1.mjs";
|
|
3
|
+
import "./helpers-C9XSjwSZ.mjs";
|
|
4
|
+
import "./build-XTM4L3VY.mjs";
|
|
5
|
+
import "./plugin-D3B5E_Hg.mjs";
|
|
6
|
+
import "./types-Dv2cgIDx.mjs";
|
|
4
7
|
import { toArray } from "@stryke/convert/to-array";
|
|
5
8
|
import defu from "defu";
|
|
6
9
|
import { rolldown } from "rolldown";
|
package/dist/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","names":["build"],"sources":["../src/index.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { Plugin } from \"@powerlines/core/types/plugin\";\nimport { toArray } from \"@stryke/convert/to-array\";\nimport defu from \"defu\";\nimport { rolldown as build } from \"rolldown\";\nimport { resolveOptions } from \"./helpers/resolve-options\";\nimport { createRolldownPlugin } from \"./helpers/unplugin\";\nimport {\n RolldownPluginContext,\n RolldownPluginOptions,\n RolldownPluginResolvedConfig\n} from \"./types/plugin\";\n\nexport * from \"./helpers\";\nexport * from \"./types\";\n\n/**\n * A Powerlines plugin to assist in developing other Powerlines plugins.\n */\nexport const plugin = <\n TContext extends RolldownPluginContext = RolldownPluginContext\n>(\n options: RolldownPluginOptions = {}\n): Plugin<TContext> => {\n return {\n name: \"rolldown\",\n config() {\n return {\n output: {\n format: [\"cjs\", \"esm\"]\n },\n rolldown: {\n ...options\n }\n } as Partial<RolldownPluginResolvedConfig>;\n },\n async build() {\n const result = await build(\n defu(\n {\n plugins: [createRolldownPlugin(this)]\n },\n resolveOptions(this)\n )\n );\n\n await Promise.all(\n toArray(this.config.output.format).map(async format =>\n result.write({\n format\n })\n )\n );\n }\n };\n};\n\nexport default plugin;\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.mjs","names":["build"],"sources":["../src/index.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { Plugin } from \"@powerlines/core/types/plugin\";\nimport { toArray } from \"@stryke/convert/to-array\";\nimport defu from \"defu\";\nimport { rolldown as build } from \"rolldown\";\nimport { resolveOptions } from \"./helpers/resolve-options\";\nimport { createRolldownPlugin } from \"./helpers/unplugin\";\nimport {\n RolldownPluginContext,\n RolldownPluginOptions,\n RolldownPluginResolvedConfig\n} from \"./types/plugin\";\n\nexport * from \"./helpers\";\nexport * from \"./types\";\n\n/**\n * A Powerlines plugin to assist in developing other Powerlines plugins.\n */\nexport const plugin = <\n TContext extends RolldownPluginContext = RolldownPluginContext\n>(\n options: RolldownPluginOptions = {}\n): Plugin<TContext> => {\n return {\n name: \"rolldown\",\n config() {\n return {\n output: {\n format: [\"cjs\", \"esm\"]\n },\n rolldown: {\n ...options\n }\n } as Partial<RolldownPluginResolvedConfig>;\n },\n async build() {\n const result = await build(\n defu(\n {\n plugins: [createRolldownPlugin(this)]\n },\n resolveOptions(this)\n )\n );\n\n await Promise.all(\n toArray(this.config.output.format).map(async format =>\n result.write({\n format\n })\n )\n );\n }\n };\n};\n\nexport default plugin;\n"],"mappings":";;;;;;;;;;;;;;AAoCA,MAAa,UAGX,UAAiC,EAAE,KACd;AACrB,QAAO;EACL,MAAM;EACN,SAAS;AACP,UAAO;IACL,QAAQ,EACN,QAAQ,CAAC,OAAO,MAAM,EACvB;IACD,UAAU,EACR,GAAG,SACJ;IACF;;EAEH,MAAM,QAAQ;GACZ,MAAM,SAAS,MAAMA,SACnB,KACE,EACE,SAAS,CAAC,qBAAqB,KAAK,CAAC,EACtC,EACD,eAAe,KAAK,CACrB,CACF;AAED,SAAM,QAAQ,IACZ,QAAQ,KAAK,OAAO,OAAO,OAAO,CAAC,IAAI,OAAM,WAC3C,OAAO,MAAM,EACX,QACD,CAAC,CACH,CACF;;EAEJ;;AAGH,kBAAe"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { t as RolldownOptions } from "./build-uc1j2t5S.cjs";
|
|
2
|
+
import { PluginContext, ResolvedConfig, UserConfig } from "@powerlines/core/types";
|
|
3
|
+
|
|
4
|
+
//#region src/types/plugin.d.ts
|
|
5
|
+
type RolldownPluginOptions = Partial<RolldownOptions>;
|
|
6
|
+
interface RolldownPluginUserConfig extends UserConfig {
|
|
7
|
+
rolldown: RolldownPluginOptions;
|
|
8
|
+
}
|
|
9
|
+
interface RolldownPluginResolvedConfig extends ResolvedConfig {
|
|
10
|
+
rolldown: RolldownOptions;
|
|
11
|
+
}
|
|
12
|
+
type RolldownPluginContext<TResolvedConfig extends RolldownPluginResolvedConfig = RolldownPluginResolvedConfig> = PluginContext<TResolvedConfig>;
|
|
13
|
+
declare type __ΩRolldownPluginOptions = any[];
|
|
14
|
+
declare type __ΩRolldownPluginUserConfig = any[];
|
|
15
|
+
declare type __ΩRolldownPluginResolvedConfig = any[];
|
|
16
|
+
declare type __ΩRolldownPluginContext = any[];
|
|
17
|
+
//#endregion
|
|
18
|
+
export { __ΩRolldownPluginContext as a, __ΩRolldownPluginUserConfig as c, RolldownPluginUserConfig as i, RolldownPluginOptions as n, __ΩRolldownPluginOptions as o, RolldownPluginResolvedConfig as r, __ΩRolldownPluginResolvedConfig as s, RolldownPluginContext as t };
|
|
19
|
+
//# sourceMappingURL=plugin-BQOzukLC.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plugin-BQOzukLC.d.cts","names":[],"sources":["../src/types/plugin.ts"],"sourcesContent":[],"mappings":";;;;KAyBY,qBAAA,GAAwB,QAAQ;UAE3B,wBAAA,SAAiC;EAFtC,QAAA,EAGA,qBAHqB;AAEjC;AAIiB,UAAA,4BAAA,SAAqC,cAAA,CAAA;EAI1C,QAAA,EAHA,eAGqB;;AAE7B,KAFQ,qBAER,CAAA,wBADsB,4BACtB,GAAA,4BAAA,CAAA,GACA,aADA,CACc,eADd,CAAA;AACc,wCAAA,GAAA,EAAA;AAAd,2CAAA,GAAA,EAAA;AAAa,+CAAA,GAAA,EAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { t as RolldownOptions } from "./build-CaB54E40.mjs";
|
|
2
|
+
import { PluginContext, ResolvedConfig, UserConfig } from "@powerlines/core/types";
|
|
3
|
+
|
|
4
|
+
//#region src/types/plugin.d.ts
|
|
5
|
+
type RolldownPluginOptions = Partial<RolldownOptions>;
|
|
6
|
+
interface RolldownPluginUserConfig extends UserConfig {
|
|
7
|
+
rolldown: RolldownPluginOptions;
|
|
8
|
+
}
|
|
9
|
+
interface RolldownPluginResolvedConfig extends ResolvedConfig {
|
|
10
|
+
rolldown: RolldownOptions;
|
|
11
|
+
}
|
|
12
|
+
type RolldownPluginContext<TResolvedConfig extends RolldownPluginResolvedConfig = RolldownPluginResolvedConfig> = PluginContext<TResolvedConfig>;
|
|
13
|
+
declare type __ΩRolldownPluginOptions = any[];
|
|
14
|
+
declare type __ΩRolldownPluginUserConfig = any[];
|
|
15
|
+
declare type __ΩRolldownPluginResolvedConfig = any[];
|
|
16
|
+
declare type __ΩRolldownPluginContext = any[];
|
|
17
|
+
//#endregion
|
|
18
|
+
export { __ΩRolldownPluginContext as a, __ΩRolldownPluginUserConfig as c, RolldownPluginUserConfig as i, RolldownPluginOptions as n, __ΩRolldownPluginOptions as o, RolldownPluginResolvedConfig as r, __ΩRolldownPluginResolvedConfig as s, RolldownPluginContext as t };
|
|
19
|
+
//# sourceMappingURL=plugin-D3N0bR7F.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plugin-D3N0bR7F.d.mts","names":[],"sources":["../src/types/plugin.ts"],"sourcesContent":[],"mappings":";;;;KAyBY,qBAAA,GAAwB,QAAQ;UAE3B,wBAAA,SAAiC;EAFtC,QAAA,EAGA,qBAHqB;AAEjC;AAIiB,UAAA,4BAAA,SAAqC,cAAA,CAAA;EAI1C,QAAA,EAHA,eAGqB;;AAE7B,KAFQ,qBAER,CAAA,wBADsB,4BACtB,GAAA,4BAAA,CAAA,GACA,aADA,CACc,eADd,CAAA;AACc,wCAAA,GAAA,EAAA;AAAd,2CAAA,GAAA,EAAA;AAAa,+CAAA,GAAA,EAAA"}
|
|
File without changes
|