@powerlines/plugin-rspack 0.5.247 → 0.5.248
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/helpers/index.cjs +3 -2
- package/dist/helpers/index.d.cts +3 -1
- package/dist/helpers/index.d.mts +3 -1
- package/dist/helpers/index.mjs +2 -1
- package/dist/helpers/unplugin.cjs +2 -10
- package/dist/helpers/unplugin.d.cts +2 -6
- package/dist/helpers/unplugin.d.mts +2 -6
- package/dist/helpers/unplugin.mjs +1 -8
- package/dist/helpers-B15z10jN.mjs +1 -0
- package/dist/helpers-LF26RHol.cjs +0 -0
- package/dist/index-9iG2qHLe.d.mts +1 -0
- package/dist/index-D4ELpJXS.d.cts +1 -0
- package/dist/index-D6CnpA_r.d.cts +1 -0
- package/dist/index-DL0uimUT.d.mts +1 -0
- package/dist/index.cjs +7 -6
- package/dist/index.d.cts +6 -5
- package/dist/index.d.cts.map +1 -0
- package/dist/index.d.mts +6 -5
- package/dist/index.d.mts.map +1 -0
- package/dist/index.mjs +6 -3
- package/dist/index.mjs.map +1 -0
- package/dist/plugin-Bba7oDr4.d.cts +14 -0
- package/dist/plugin-Bba7oDr4.d.cts.map +1 -0
- package/dist/plugin-ifZVa20V.mjs +1 -0
- package/dist/plugin-pBKbb5K9.cjs +0 -0
- package/dist/plugin-wK3Y5uKl.d.mts +14 -0
- package/dist/plugin-wK3Y5uKl.d.mts.map +1 -0
- package/dist/types/index.cjs +2 -0
- package/dist/types/index.d.cts +2 -1
- package/dist/types/index.d.mts +2 -1
- package/dist/types/index.mjs +3 -0
- package/dist/types/plugin.cjs +1 -0
- package/dist/types/plugin.d.cts +1 -12
- package/dist/types/plugin.d.mts +1 -12
- package/dist/types/plugin.mjs +2 -0
- package/dist/types-U3zd8PTP.mjs +1 -0
- package/dist/types-o3zWarRp.cjs +0 -0
- package/dist/unplugin-BNXnCNtR.mjs +2349 -0
- package/dist/unplugin-BNXnCNtR.mjs.map +1 -0
- package/dist/unplugin-BxYrF3Ze.d.cts +8 -0
- package/dist/unplugin-BxYrF3Ze.d.cts.map +1 -0
- package/dist/unplugin-C-ffDFJ6.cjs +2359 -0
- package/dist/unplugin-Cxu6PlCY.d.mts +8 -0
- package/dist/unplugin-Cxu6PlCY.d.mts.map +1 -0
- package/package.json +4 -4
- package/dist/_virtual/rolldown_runtime.cjs +0 -29
package/dist/helpers/index.cjs
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
const
|
|
1
|
+
const require_unplugin = require('../unplugin-C-ffDFJ6.cjs');
|
|
2
|
+
require('../helpers-LF26RHol.cjs');
|
|
2
3
|
|
|
3
|
-
exports.createRspackPlugin =
|
|
4
|
+
exports.createRspackPlugin = require_unplugin.createRspackPlugin;
|
package/dist/helpers/index.d.cts
CHANGED
package/dist/helpers/index.d.mts
CHANGED
package/dist/helpers/index.mjs
CHANGED
|
@@ -1,11 +1,3 @@
|
|
|
1
|
-
const
|
|
2
|
-
let powerlines_lib_unplugin = require("powerlines/lib/unplugin");
|
|
3
|
-
let unplugin = require("unplugin");
|
|
1
|
+
const require_unplugin = require('../unplugin-C-ffDFJ6.cjs');
|
|
4
2
|
|
|
5
|
-
|
|
6
|
-
function createRspackPlugin(context) {
|
|
7
|
-
return (0, unplugin.createRspackPlugin)((0, powerlines_lib_unplugin.createUnplugin)(context))({});
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
//#endregion
|
|
11
|
-
exports.createRspackPlugin = createRspackPlugin;
|
|
3
|
+
exports.createRspackPlugin = require_unplugin.createRspackPlugin;
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
//#region src/helpers/unplugin.d.ts
|
|
5
|
-
declare function createRspackPlugin(context: RspackPluginContext): unplugin0.RspackPluginInstance;
|
|
6
|
-
//#endregion
|
|
1
|
+
import "../plugin-Bba7oDr4.cjs";
|
|
2
|
+
import { t as createRspackPlugin } from "../unplugin-BxYrF3Ze.cjs";
|
|
7
3
|
export { createRspackPlugin };
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
//#region src/helpers/unplugin.d.ts
|
|
5
|
-
declare function createRspackPlugin(context: RspackPluginContext): unplugin0.RspackPluginInstance;
|
|
6
|
-
//#endregion
|
|
1
|
+
import "../plugin-wK3Y5uKl.mjs";
|
|
2
|
+
import { t as createRspackPlugin } from "../unplugin-Cxu6PlCY.mjs";
|
|
7
3
|
export { createRspackPlugin };
|
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { createRspackPlugin as createRspackPlugin$1 } from "unplugin";
|
|
1
|
+
import { t as createRspackPlugin } from "../unplugin-BNXnCNtR.mjs";
|
|
3
2
|
|
|
4
|
-
//#region src/helpers/unplugin.ts
|
|
5
|
-
function createRspackPlugin(context) {
|
|
6
|
-
return createRspackPlugin$1(createUnplugin(context))({});
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
//#endregion
|
|
10
3
|
export { createRspackPlugin };
|
|
@@ -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,10 +1,11 @@
|
|
|
1
1
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
|
-
const
|
|
3
|
-
|
|
4
|
-
require('./
|
|
2
|
+
const require_unplugin = require('./unplugin-C-ffDFJ6.cjs');
|
|
3
|
+
require('./helpers-LF26RHol.cjs');
|
|
4
|
+
require('./plugin-pBKbb5K9.cjs');
|
|
5
|
+
require('./types-o3zWarRp.cjs');
|
|
5
6
|
let __rspack_core = require("@rspack/core");
|
|
6
7
|
let defu = require("defu");
|
|
7
|
-
defu =
|
|
8
|
+
defu = require_unplugin.__toESM(defu);
|
|
8
9
|
let powerlines_lib_build_rspack = require("powerlines/lib/build/rspack");
|
|
9
10
|
|
|
10
11
|
//#region src/index.ts
|
|
@@ -25,13 +26,13 @@ const plugin = (options = {}) => {
|
|
|
25
26
|
(0, __rspack_core.rspack)((0, defu.default)({ entry: this.entry.reduce((ret, entry) => {
|
|
26
27
|
ret[entry.output || entry.name || entry.file] = entry.file;
|
|
27
28
|
return ret;
|
|
28
|
-
}, {}) }, (0, powerlines_lib_build_rspack.extractRspackConfig)(this), { plugins: [
|
|
29
|
+
}, {}) }, (0, powerlines_lib_build_rspack.extractRspackConfig)(this), { plugins: [require_unplugin.createRspackPlugin(this)] }));
|
|
29
30
|
}
|
|
30
31
|
};
|
|
31
32
|
};
|
|
32
33
|
var src_default = plugin;
|
|
33
34
|
|
|
34
35
|
//#endregion
|
|
35
|
-
exports.createRspackPlugin =
|
|
36
|
+
exports.createRspackPlugin = require_unplugin.createRspackPlugin;
|
|
36
37
|
exports.default = src_default;
|
|
37
38
|
exports.plugin = plugin;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { createRspackPlugin } from "./
|
|
3
|
-
import "./
|
|
4
|
-
import "./
|
|
1
|
+
import { a as __ΩRspackPluginOptions, i as __ΩRspackPluginContext, n as RspackPluginOptions, o as __ΩRspackPluginResolvedConfig, r as RspackPluginResolvedConfig, t as RspackPluginContext } from "./plugin-Bba7oDr4.cjs";
|
|
2
|
+
import { t as createRspackPlugin } from "./unplugin-BxYrF3Ze.cjs";
|
|
3
|
+
import "./index-D6CnpA_r.cjs";
|
|
4
|
+
import "./index-D4ELpJXS.cjs";
|
|
5
5
|
import { Plugin } from "powerlines/types/plugin";
|
|
6
6
|
|
|
7
7
|
//#region src/index.d.ts
|
|
@@ -10,4 +10,5 @@ import { Plugin } from "powerlines/types/plugin";
|
|
|
10
10
|
*/
|
|
11
11
|
declare const plugin: <TContext extends RspackPluginContext = RspackPluginContext>(options?: RspackPluginOptions) => Plugin<TContext>;
|
|
12
12
|
//#endregion
|
|
13
|
-
export { RspackPluginContext, RspackPluginOptions, RspackPluginResolvedConfig, __ΩRspackPluginContext, __ΩRspackPluginOptions, __ΩRspackPluginResolvedConfig, createRspackPlugin, plugin as default, plugin };
|
|
13
|
+
export { RspackPluginContext, RspackPluginOptions, RspackPluginResolvedConfig, __ΩRspackPluginContext, __ΩRspackPluginOptions, __ΩRspackPluginResolvedConfig, createRspackPlugin, plugin as default, plugin };
|
|
14
|
+
//# sourceMappingURL=index.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;AAgCa,cAAA,MAwCZ,EAAA,CAAA,iBAvCkB,mBAuClB,GAvCwC,mBAuCxC,CAAA,CAAA,OAAA,CAAA,EArCU,mBAqCV,EAAA,GApCE,MAoCF,CApCS,QAoCT,CAAA"}
|
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { createRspackPlugin } from "./
|
|
3
|
-
import "./
|
|
4
|
-
import "./
|
|
1
|
+
import { a as __ΩRspackPluginOptions, i as __ΩRspackPluginContext, n as RspackPluginOptions, o as __ΩRspackPluginResolvedConfig, r as RspackPluginResolvedConfig, t as RspackPluginContext } from "./plugin-wK3Y5uKl.mjs";
|
|
2
|
+
import { t as createRspackPlugin } from "./unplugin-Cxu6PlCY.mjs";
|
|
3
|
+
import "./index-DL0uimUT.mjs";
|
|
4
|
+
import "./index-9iG2qHLe.mjs";
|
|
5
5
|
import { Plugin } from "powerlines/types/plugin";
|
|
6
6
|
|
|
7
7
|
//#region src/index.d.ts
|
|
@@ -10,4 +10,5 @@ import { Plugin } from "powerlines/types/plugin";
|
|
|
10
10
|
*/
|
|
11
11
|
declare const plugin: <TContext extends RspackPluginContext = RspackPluginContext>(options?: RspackPluginOptions) => Plugin<TContext>;
|
|
12
12
|
//#endregion
|
|
13
|
-
export { RspackPluginContext, RspackPluginOptions, RspackPluginResolvedConfig, __ΩRspackPluginContext, __ΩRspackPluginOptions, __ΩRspackPluginResolvedConfig, createRspackPlugin, plugin as default, plugin };
|
|
13
|
+
export { RspackPluginContext, RspackPluginOptions, RspackPluginResolvedConfig, __ΩRspackPluginContext, __ΩRspackPluginOptions, __ΩRspackPluginResolvedConfig, createRspackPlugin, plugin as default, plugin };
|
|
14
|
+
//# sourceMappingURL=index.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/index.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;AAgCa,cAAA,MAwCZ,EAAA,CAAA,iBAvCkB,mBAuClB,GAvCwC,mBAuCxC,CAAA,CAAA,OAAA,CAAA,EArCU,mBAqCV,EAAA,GApCE,MAoCF,CApCS,QAoCT,CAAA"}
|
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import { createRspackPlugin } from "./
|
|
2
|
-
import "./helpers
|
|
1
|
+
import { t as createRspackPlugin } from "./unplugin-BNXnCNtR.mjs";
|
|
2
|
+
import "./helpers-B15z10jN.mjs";
|
|
3
|
+
import "./plugin-ifZVa20V.mjs";
|
|
4
|
+
import "./types-U3zd8PTP.mjs";
|
|
3
5
|
import { rspack } from "@rspack/core";
|
|
4
6
|
import defu from "defu";
|
|
5
7
|
import { extractRspackConfig } from "powerlines/lib/build/rspack";
|
|
@@ -29,4 +31,5 @@ const plugin = (options = {}) => {
|
|
|
29
31
|
var src_default = plugin;
|
|
30
32
|
|
|
31
33
|
//#endregion
|
|
32
|
-
export { createRspackPlugin, src_default as default, plugin };
|
|
34
|
+
export { createRspackPlugin, src_default as default, plugin };
|
|
35
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","names":[],"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 { rspack as build } from \"@rspack/core\";\nimport defu from \"defu\";\nimport { extractRspackConfig } from \"powerlines/lib/build/rspack\";\nimport { RspackUserConfig } from \"powerlines/types/config\";\nimport { Plugin } from \"powerlines/types/plugin\";\nimport { createRspackPlugin } from \"./helpers/unplugin\";\nimport { RspackPluginContext, RspackPluginOptions } 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 RspackPluginContext = RspackPluginContext\n>(\n options: RspackPluginOptions = {}\n): Plugin<TContext> => {\n return {\n name: \"rspack\",\n config() {\n this.debug(\n \"Providing default configuration for the Powerlines `rspack` build plugin.\"\n );\n\n return {\n build: {\n ...options,\n variant: \"rspack\"\n }\n } as Partial<RspackUserConfig>;\n },\n async build() {\n build(\n defu(\n {\n entry: this.entry.reduce(\n (ret, entry) => {\n ret[entry.output || entry.name || entry.file] = entry.file;\n\n return ret;\n },\n {} as Record<string, string>\n )\n },\n extractRspackConfig(this),\n {\n plugins: [createRspackPlugin(this)]\n }\n )\n );\n }\n };\n};\n\nexport default plugin;\n"],"mappings":";;;;;;;;;;;;AAgCA,MAAa,UAGX,UAA+B,EAAE,KACZ;AACrB,QAAO;EACL,MAAM;EACN,SAAS;AACP,QAAK,MACH,4EACD;AAED,UAAO,EACL,OAAO;IACL,GAAG;IACH,SAAS;IACV,EACF;;EAEH,MAAM,QAAQ;AACZ,UACE,KACE,EACE,OAAO,KAAK,MAAM,QACf,KAAK,UAAU;AACd,QAAI,MAAM,UAAU,MAAM,QAAQ,MAAM,QAAQ,MAAM;AAEtD,WAAO;MAET,EAAE,CACH,EACF,EACD,oBAAoB,KAAK,EACzB,EACE,SAAS,CAAC,mBAAmB,KAAK,CAAC,EACpC,CACF,CACF;;EAEJ;;AAGH,kBAAe"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { RspackBuildConfig } from "powerlines/types/build";
|
|
2
|
+
import { PluginContext } from "powerlines/types/context";
|
|
3
|
+
import { RspackResolvedConfig } from "powerlines/types/resolved";
|
|
4
|
+
|
|
5
|
+
//#region src/types/plugin.d.ts
|
|
6
|
+
type RspackPluginOptions = Partial<RspackBuildConfig>;
|
|
7
|
+
type RspackPluginResolvedConfig = RspackResolvedConfig;
|
|
8
|
+
type RspackPluginContext<TResolvedConfig extends RspackPluginResolvedConfig = RspackPluginResolvedConfig> = PluginContext<TResolvedConfig>;
|
|
9
|
+
declare type __ΩRspackPluginOptions = any[];
|
|
10
|
+
declare type __ΩRspackPluginResolvedConfig = any[];
|
|
11
|
+
declare type __ΩRspackPluginContext = any[];
|
|
12
|
+
//#endregion
|
|
13
|
+
export { __ΩRspackPluginOptions as a, __ΩRspackPluginContext as i, RspackPluginOptions as n, __ΩRspackPluginResolvedConfig as o, RspackPluginResolvedConfig as r, RspackPluginContext as t };
|
|
14
|
+
//# sourceMappingURL=plugin-Bba7oDr4.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plugin-Bba7oDr4.d.cts","names":[],"sources":["../src/types/plugin.ts"],"sourcesContent":[],"mappings":";;;;;KAsBY,mBAAA,GAAsB,QAAQ;KAE9B,0BAAA,GAA6B;AAF7B,KAIA,mBAJmB,CAAA,wBAM3B,0BANqC,GAMR,0BANQ,CAAA,GAOrC,aAPqC,CAOvB,eAPuB,CAAA;AAE7B,sCAA6B,GAAA,EAAA;AAE7B,6CAAmB,GAAA,EAAA;AAE3B,sCAAA,GAAA,EAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
File without changes
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { RspackBuildConfig } from "powerlines/types/build";
|
|
2
|
+
import { PluginContext } from "powerlines/types/context";
|
|
3
|
+
import { RspackResolvedConfig } from "powerlines/types/resolved";
|
|
4
|
+
|
|
5
|
+
//#region src/types/plugin.d.ts
|
|
6
|
+
type RspackPluginOptions = Partial<RspackBuildConfig>;
|
|
7
|
+
type RspackPluginResolvedConfig = RspackResolvedConfig;
|
|
8
|
+
type RspackPluginContext<TResolvedConfig extends RspackPluginResolvedConfig = RspackPluginResolvedConfig> = PluginContext<TResolvedConfig>;
|
|
9
|
+
declare type __ΩRspackPluginOptions = any[];
|
|
10
|
+
declare type __ΩRspackPluginResolvedConfig = any[];
|
|
11
|
+
declare type __ΩRspackPluginContext = any[];
|
|
12
|
+
//#endregion
|
|
13
|
+
export { __ΩRspackPluginOptions as a, __ΩRspackPluginContext as i, RspackPluginOptions as n, __ΩRspackPluginResolvedConfig as o, RspackPluginResolvedConfig as r, RspackPluginContext as t };
|
|
14
|
+
//# sourceMappingURL=plugin-wK3Y5uKl.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plugin-wK3Y5uKl.d.mts","names":[],"sources":["../src/types/plugin.ts"],"sourcesContent":[],"mappings":";;;;;KAsBY,mBAAA,GAAsB,QAAQ;KAE9B,0BAAA,GAA6B;AAF7B,KAIA,mBAJmB,CAAA,wBAM3B,0BANqC,GAMR,0BANQ,CAAA,GAOrC,aAPqC,CAOvB,eAPuB,CAAA;AAE7B,sCAA6B,GAAA,EAAA;AAE7B,6CAAmB,GAAA,EAAA;AAE3B,sCAAA,GAAA,EAAA"}
|
package/dist/types/index.cjs
CHANGED
package/dist/types/index.d.cts
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as __ΩRspackPluginOptions, i as __ΩRspackPluginContext, n as RspackPluginOptions, o as __ΩRspackPluginResolvedConfig, r as RspackPluginResolvedConfig, t as RspackPluginContext } from "../plugin-Bba7oDr4.cjs";
|
|
2
|
+
import "../index-D4ELpJXS.cjs";
|
|
2
3
|
export { RspackPluginContext, RspackPluginOptions, RspackPluginResolvedConfig, __ΩRspackPluginContext, __ΩRspackPluginOptions, __ΩRspackPluginResolvedConfig };
|
package/dist/types/index.d.mts
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as __ΩRspackPluginOptions, i as __ΩRspackPluginContext, n as RspackPluginOptions, o as __ΩRspackPluginResolvedConfig, r as RspackPluginResolvedConfig, t as RspackPluginContext } from "../plugin-wK3Y5uKl.mjs";
|
|
2
|
+
import "../index-9iG2qHLe.mjs";
|
|
2
3
|
export { RspackPluginContext, RspackPluginOptions, RspackPluginResolvedConfig, __ΩRspackPluginContext, __ΩRspackPluginOptions, __ΩRspackPluginResolvedConfig };
|
package/dist/types/index.mjs
CHANGED
package/dist/types/plugin.cjs
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require('../plugin-pBKbb5K9.cjs');
|
package/dist/types/plugin.d.cts
CHANGED
|
@@ -1,13 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { PluginContext } from "powerlines/types/context";
|
|
3
|
-
import { RspackResolvedConfig } from "powerlines/types/resolved";
|
|
4
|
-
|
|
5
|
-
//#region src/types/plugin.d.ts
|
|
6
|
-
type RspackPluginOptions = Partial<RspackBuildConfig>;
|
|
7
|
-
type RspackPluginResolvedConfig = RspackResolvedConfig;
|
|
8
|
-
type RspackPluginContext<TResolvedConfig extends RspackPluginResolvedConfig = RspackPluginResolvedConfig> = PluginContext<TResolvedConfig>;
|
|
9
|
-
declare type __ΩRspackPluginOptions = any[];
|
|
10
|
-
declare type __ΩRspackPluginResolvedConfig = any[];
|
|
11
|
-
declare type __ΩRspackPluginContext = any[];
|
|
12
|
-
//#endregion
|
|
1
|
+
import { a as __ΩRspackPluginOptions, i as __ΩRspackPluginContext, n as RspackPluginOptions, o as __ΩRspackPluginResolvedConfig, r as RspackPluginResolvedConfig, t as RspackPluginContext } from "../plugin-Bba7oDr4.cjs";
|
|
13
2
|
export { RspackPluginContext, RspackPluginOptions, RspackPluginResolvedConfig, __ΩRspackPluginContext, __ΩRspackPluginOptions, __ΩRspackPluginResolvedConfig };
|
package/dist/types/plugin.d.mts
CHANGED
|
@@ -1,13 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { PluginContext } from "powerlines/types/context";
|
|
3
|
-
import { RspackResolvedConfig } from "powerlines/types/resolved";
|
|
4
|
-
|
|
5
|
-
//#region src/types/plugin.d.ts
|
|
6
|
-
type RspackPluginOptions = Partial<RspackBuildConfig>;
|
|
7
|
-
type RspackPluginResolvedConfig = RspackResolvedConfig;
|
|
8
|
-
type RspackPluginContext<TResolvedConfig extends RspackPluginResolvedConfig = RspackPluginResolvedConfig> = PluginContext<TResolvedConfig>;
|
|
9
|
-
declare type __ΩRspackPluginOptions = any[];
|
|
10
|
-
declare type __ΩRspackPluginResolvedConfig = any[];
|
|
11
|
-
declare type __ΩRspackPluginContext = any[];
|
|
12
|
-
//#endregion
|
|
1
|
+
import { a as __ΩRspackPluginOptions, i as __ΩRspackPluginContext, n as RspackPluginOptions, o as __ΩRspackPluginResolvedConfig, r as RspackPluginResolvedConfig, t as RspackPluginContext } from "../plugin-wK3Y5uKl.mjs";
|
|
13
2
|
export { RspackPluginContext, RspackPluginOptions, RspackPluginResolvedConfig, __ΩRspackPluginContext, __ΩRspackPluginOptions, __ΩRspackPluginResolvedConfig };
|
package/dist/types/plugin.mjs
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
File without changes
|