@powerlines/plugin-rspack 0.5.349 → 0.5.351
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/_virtual/_rolldown/runtime.cjs +29 -0
- package/dist/helpers/index.cjs +2 -2
- package/dist/helpers/index.d.cts +2 -2
- package/dist/helpers/index.d.mts +2 -2
- package/dist/helpers/resolve-options.cjs +37 -2
- package/dist/helpers/resolve-options.d.cts +14 -2
- package/dist/helpers/resolve-options.d.cts.map +1 -0
- package/dist/helpers/resolve-options.d.mts +14 -2
- package/dist/helpers/resolve-options.d.mts.map +1 -0
- package/dist/helpers/unplugin.cjs +1 -1
- package/dist/helpers/unplugin.d.cts +8 -2
- package/dist/helpers/unplugin.d.cts.map +1 -0
- package/dist/helpers/unplugin.d.mts +8 -2
- package/dist/helpers/unplugin.d.mts.map +1 -0
- package/dist/index.cjs +5 -5
- package/dist/index.d.cts +4 -4
- package/dist/index.d.mts +4 -4
- package/dist/index.mjs +0 -1
- package/dist/index.mjs.map +1 -1
- package/dist/types/build.d.cts +8 -2
- package/dist/types/build.d.cts.map +1 -0
- package/dist/types/build.d.mts +8 -2
- package/dist/types/build.d.mts.map +1 -0
- package/dist/types/index.d.cts +2 -2
- package/dist/types/index.d.mts +2 -2
- package/dist/types/plugin.d.cts +19 -2
- package/dist/types/plugin.d.cts.map +1 -0
- package/dist/types/plugin.d.mts +19 -2
- package/dist/types/plugin.d.mts.map +1 -0
- package/package.json +4 -5
- package/dist/build-B8svWKBw.d.cts +0 -8
- package/dist/build-B8svWKBw.d.cts.map +0 -1
- package/dist/build-yAGe0Dv9.d.mts +0 -8
- package/dist/build-yAGe0Dv9.d.mts.map +0 -1
- package/dist/plugin-B3EYM2p9.d.mts +0 -19
- package/dist/plugin-B3EYM2p9.d.mts.map +0 -1
- package/dist/plugin-CxAN1Lu0.d.cts +0 -19
- package/dist/plugin-CxAN1Lu0.d.cts.map +0 -1
- package/dist/resolve-options-2T46cfhr.d.cts +0 -14
- package/dist/resolve-options-2T46cfhr.d.cts.map +0 -1
- package/dist/resolve-options-BDVDHrY7.d.mts +0 -14
- package/dist/resolve-options-BDVDHrY7.d.mts.map +0 -1
- package/dist/resolve-options-FDaPmq2Y.cjs +0 -75
- package/dist/unplugin-73PkIqlb.d.cts +0 -8
- package/dist/unplugin-73PkIqlb.d.cts.map +0 -1
- package/dist/unplugin-Bem3qeWR.d.mts +0 -8
- package/dist/unplugin-Bem3qeWR.d.mts.map +0 -1
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
//#region \0rolldown/runtime.js
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __copyProps = (to, from, except, desc) => {
|
|
9
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
10
|
+
for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
11
|
+
key = keys[i];
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except) {
|
|
13
|
+
__defProp(to, key, {
|
|
14
|
+
get: ((k) => from[k]).bind(null, key),
|
|
15
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
return to;
|
|
21
|
+
};
|
|
22
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
23
|
+
value: mod,
|
|
24
|
+
enumerable: true
|
|
25
|
+
}) : target, mod));
|
|
26
|
+
|
|
27
|
+
//#endregion
|
|
28
|
+
|
|
29
|
+
exports.__toESM = __toESM;
|
package/dist/helpers/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
const
|
|
2
|
+
const require_helpers_resolve_options = require('./resolve-options.cjs');
|
|
3
3
|
const require_helpers_unplugin = require('./unplugin.cjs');
|
|
4
4
|
|
|
5
5
|
exports.createRspackPlugin = require_helpers_unplugin.createRspackPlugin;
|
|
6
|
-
exports.resolveOptions =
|
|
6
|
+
exports.resolveOptions = require_helpers_resolve_options.resolveOptions;
|
package/dist/helpers/index.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { resolveOptions } from "./resolve-options.cjs";
|
|
2
|
+
import { createRspackPlugin } from "./unplugin.cjs";
|
|
3
3
|
export { createRspackPlugin, resolveOptions };
|
package/dist/helpers/index.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { resolveOptions } from "./resolve-options.mjs";
|
|
2
|
+
import { createRspackPlugin } from "./unplugin.mjs";
|
|
3
3
|
export { createRspackPlugin, resolveOptions };
|
|
@@ -1,4 +1,39 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
const
|
|
2
|
+
const require_runtime = require('../_virtual/_rolldown/runtime.cjs');
|
|
3
|
+
let defu = require("defu");
|
|
4
|
+
defu = require_runtime.__toESM(defu);
|
|
5
|
+
let _stryke_path_join_paths = require("@stryke/path/join-paths");
|
|
3
6
|
|
|
4
|
-
|
|
7
|
+
//#region src/helpers/resolve-options.ts
|
|
8
|
+
/**
|
|
9
|
+
* Resolves the options for [rspack](https://rspack.rs/).
|
|
10
|
+
*
|
|
11
|
+
* @param context - The build context.
|
|
12
|
+
* @returns The resolved options.
|
|
13
|
+
*/
|
|
14
|
+
function resolveOptions(context) {
|
|
15
|
+
return (0, defu.default)({ resolve: { alias: context.alias } }, context.config.rspack ? context.config.rspack : {}, {
|
|
16
|
+
external: context.config.resolve.external,
|
|
17
|
+
noExternal: context.config.resolve.noExternal,
|
|
18
|
+
skipNodeModulesBundle: context.config.resolve.skipNodeModulesBundle
|
|
19
|
+
}, {
|
|
20
|
+
output: { path: (0, _stryke_path_join_paths.joinPaths)(context.workspaceConfig.workspaceRoot, context.config.output.buildPath) },
|
|
21
|
+
name: context.config.name,
|
|
22
|
+
node: context.config.platform === "node" ? {
|
|
23
|
+
__dirname: true,
|
|
24
|
+
__filename: true,
|
|
25
|
+
global: true
|
|
26
|
+
} : false,
|
|
27
|
+
mode: context.config.mode === "development" ? "development" : "production",
|
|
28
|
+
recordsInputPath: (0, _stryke_path_join_paths.joinPaths)(context.cachePath, "rspack", ".rspack-records.json"),
|
|
29
|
+
recordsOutputPath: (0, _stryke_path_join_paths.joinPaths)(context.cachePath, "rspack", ".rspack-records.json"),
|
|
30
|
+
context: (0, _stryke_path_join_paths.joinPaths)(context.workspaceConfig.workspaceRoot, context.config.root),
|
|
31
|
+
noExternal: context.builtins,
|
|
32
|
+
cache: context.config.mode === "development",
|
|
33
|
+
devtool: context.config.mode !== "development" ? false : "source-map",
|
|
34
|
+
optimization: { minimize: context.config.mode !== "development" }
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
//#endregion
|
|
39
|
+
exports.resolveOptions = resolveOptions;
|
|
@@ -1,2 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { Context } from "@powerlines/core";
|
|
2
|
+
import { Configuration } from "@rspack/core";
|
|
3
|
+
|
|
4
|
+
//#region src/helpers/resolve-options.d.ts
|
|
5
|
+
/**
|
|
6
|
+
* Resolves the options for [rspack](https://rspack.rs/).
|
|
7
|
+
*
|
|
8
|
+
* @param context - The build context.
|
|
9
|
+
* @returns The resolved options.
|
|
10
|
+
*/
|
|
11
|
+
declare function resolveOptions(context: Context): Configuration;
|
|
12
|
+
//#endregion
|
|
13
|
+
export { resolveOptions };
|
|
14
|
+
//# sourceMappingURL=resolve-options.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resolve-options.d.cts","names":[],"sources":["../../src/helpers/resolve-options.ts"],"mappings":";;;;;;AAiCA;;;;iBAAgB,cAAA,CAAe,OAAA,EAAS,OAAA,GAAU,aAAA"}
|
|
@@ -1,2 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { Configuration } from "@rspack/core";
|
|
2
|
+
import { Context } from "@powerlines/core";
|
|
3
|
+
|
|
4
|
+
//#region src/helpers/resolve-options.d.ts
|
|
5
|
+
/**
|
|
6
|
+
* Resolves the options for [rspack](https://rspack.rs/).
|
|
7
|
+
*
|
|
8
|
+
* @param context - The build context.
|
|
9
|
+
* @returns The resolved options.
|
|
10
|
+
*/
|
|
11
|
+
declare function resolveOptions(context: Context): Configuration;
|
|
12
|
+
//#endregion
|
|
13
|
+
export { resolveOptions };
|
|
14
|
+
//# sourceMappingURL=resolve-options.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resolve-options.d.mts","names":[],"sources":["../../src/helpers/resolve-options.ts"],"mappings":";;;;;;AAiCA;;;;iBAAgB,cAAA,CAAe,OAAA,EAAS,OAAA,GAAU,aAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
const
|
|
2
|
+
const require_runtime = require('../_virtual/_rolldown/runtime.cjs');
|
|
3
3
|
let _powerlines_core_lib_unplugin = require("@powerlines/core/lib/unplugin");
|
|
4
4
|
let unplugin = require("unplugin");
|
|
5
5
|
|
|
@@ -1,2 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { RspackPluginContext } from "../types/plugin.cjs";
|
|
2
|
+
import * as unplugin from "unplugin";
|
|
3
|
+
|
|
4
|
+
//#region src/helpers/unplugin.d.ts
|
|
5
|
+
declare function createRspackPlugin(context: RspackPluginContext): unplugin.RspackPluginInstance;
|
|
6
|
+
//#endregion
|
|
7
|
+
export { createRspackPlugin };
|
|
8
|
+
//# sourceMappingURL=unplugin.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unplugin.d.cts","names":[],"sources":["../../src/helpers/unplugin.ts"],"mappings":";;;;iBAsBgB,kBAAA,CAAmB,OAAA,EAAS,mBAAA,GAAmB,QAAA,CAAA,oBAAA"}
|
|
@@ -1,2 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { RspackPluginContext } from "../types/plugin.mjs";
|
|
2
|
+
import * as unplugin from "unplugin";
|
|
3
|
+
|
|
4
|
+
//#region src/helpers/unplugin.d.ts
|
|
5
|
+
declare function createRspackPlugin(context: RspackPluginContext): unplugin.RspackPluginInstance;
|
|
6
|
+
//#endregion
|
|
7
|
+
export { createRspackPlugin };
|
|
8
|
+
//# sourceMappingURL=unplugin.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unplugin.d.mts","names":[],"sources":["../../src/helpers/unplugin.ts"],"mappings":";;;;iBAsBgB,kBAAA,CAAmB,OAAA,EAAS,mBAAA,GAAmB,QAAA,CAAA,oBAAA"}
|
package/dist/index.cjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
|
|
2
|
-
const
|
|
2
|
+
const require_runtime = require('./_virtual/_rolldown/runtime.cjs');
|
|
3
|
+
const require_helpers_resolve_options = require('./helpers/resolve-options.cjs');
|
|
3
4
|
const require_helpers_unplugin = require('./helpers/unplugin.cjs');
|
|
4
5
|
require('./helpers/index.cjs');
|
|
5
|
-
require('./types/index.cjs');
|
|
6
6
|
let _rspack_core = require("@rspack/core");
|
|
7
7
|
let defu = require("defu");
|
|
8
|
-
defu =
|
|
8
|
+
defu = require_runtime.__toESM(defu);
|
|
9
9
|
|
|
10
10
|
//#region src/index.ts
|
|
11
11
|
/**
|
|
@@ -25,7 +25,7 @@ const plugin = (options = {}) => {
|
|
|
25
25
|
(0, _rspack_core.rspack)((0, defu.default)({ entry: this.entry.reduce((ret, entry) => {
|
|
26
26
|
ret[entry.output || entry.name || entry.file] = entry.file;
|
|
27
27
|
return ret;
|
|
28
|
-
}, {}) },
|
|
28
|
+
}, {}) }, require_helpers_resolve_options.resolveOptions(this), { plugins: [require_helpers_unplugin.createRspackPlugin(this)] }));
|
|
29
29
|
}
|
|
30
30
|
};
|
|
31
31
|
};
|
|
@@ -34,4 +34,4 @@ const plugin = (options = {}) => {
|
|
|
34
34
|
exports.createRspackPlugin = require_helpers_unplugin.createRspackPlugin;
|
|
35
35
|
exports.default = plugin;
|
|
36
36
|
exports.plugin = plugin;
|
|
37
|
-
exports.resolveOptions =
|
|
37
|
+
exports.resolveOptions = require_helpers_resolve_options.resolveOptions;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { resolveOptions } from "./helpers/resolve-options.cjs";
|
|
2
|
+
import { RspackOptions, __ΩRspackOptions } from "./types/build.cjs";
|
|
3
|
+
import { RspackPluginContext, RspackPluginOptions, RspackPluginResolvedConfig, RspackPluginUserConfig, __ΩRspackPluginContext, __ΩRspackPluginOptions, __ΩRspackPluginResolvedConfig, __ΩRspackPluginUserConfig } from "./types/plugin.cjs";
|
|
4
|
+
import { createRspackPlugin } from "./helpers/unplugin.cjs";
|
|
5
5
|
import { Plugin } from "@powerlines/core";
|
|
6
6
|
|
|
7
7
|
//#region src/index.d.ts
|
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { resolveOptions } from "./helpers/resolve-options.mjs";
|
|
2
|
+
import { RspackOptions, __ΩRspackOptions } from "./types/build.mjs";
|
|
3
|
+
import { RspackPluginContext, RspackPluginOptions, RspackPluginResolvedConfig, RspackPluginUserConfig, __ΩRspackPluginContext, __ΩRspackPluginOptions, __ΩRspackPluginResolvedConfig, __ΩRspackPluginUserConfig } from "./types/plugin.mjs";
|
|
4
|
+
import { createRspackPlugin } from "./helpers/unplugin.mjs";
|
|
5
5
|
import { Plugin } from "@powerlines/core";
|
|
6
6
|
|
|
7
7
|
//#region src/index.d.ts
|
package/dist/index.mjs
CHANGED
package/dist/index.mjs.map
CHANGED
|
@@ -1 +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 { Plugin } from \"@powerlines/core\";\nimport { rspack as build } from \"@rspack/core\";\nimport defu from \"defu\";\nimport { resolveOptions } from \"./helpers\";\nimport { createRspackPlugin } from \"./helpers/unplugin\";\nimport {\n RspackPluginContext,\n RspackPluginOptions,\n RspackPluginResolvedConfig\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 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<RspackPluginResolvedConfig>;\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 resolveOptions(this),\n {\n plugins: [createRspackPlugin(this)]\n }\n )\n );\n }\n };\n};\n\nexport default plugin;\n"],"mappings":"
|
|
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 { Plugin } from \"@powerlines/core\";\nimport { rspack as build } from \"@rspack/core\";\nimport defu from \"defu\";\nimport { resolveOptions } from \"./helpers\";\nimport { createRspackPlugin } from \"./helpers/unplugin\";\nimport {\n RspackPluginContext,\n RspackPluginOptions,\n RspackPluginResolvedConfig\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 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<RspackPluginResolvedConfig>;\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 resolveOptions(this),\n {\n plugins: [createRspackPlugin(this)]\n }\n )\n );\n }\n };\n};\n\nexport default plugin;\n"],"mappings":";;;;;;;;;;AAmCA,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,eAAe,KAAK,EACpB,EACE,SAAS,CAAC,mBAAmB,KAAK,CAAC,EACpC,CACF,CACF;;EAEJ"}
|
package/dist/types/build.d.cts
CHANGED
|
@@ -1,2 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { Configuration } from "@rspack/core";
|
|
2
|
+
|
|
3
|
+
//#region src/types/build.d.ts
|
|
4
|
+
type RspackOptions = Omit<Configuration, "name" | "entry" | "entryPoints" | "tsconfig" | "tsconfigRaw" | "environments" | "output" | "platform" | "define" | "external">;
|
|
5
|
+
declare type __ΩRspackOptions = any[];
|
|
6
|
+
//#endregion
|
|
7
|
+
export { RspackOptions, __ΩRspackOptions };
|
|
8
|
+
//# sourceMappingURL=build.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"build.d.cts","names":[],"sources":["../../src/types/build.ts"],"mappings":";;;KAoBY,aAAA,GAAgB,IAAA,CAC1B,aAAA;AAAA"}
|
package/dist/types/build.d.mts
CHANGED
|
@@ -1,2 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { Configuration } from "@rspack/core";
|
|
2
|
+
|
|
3
|
+
//#region src/types/build.d.ts
|
|
4
|
+
type RspackOptions = Omit<Configuration, "name" | "entry" | "entryPoints" | "tsconfig" | "tsconfigRaw" | "environments" | "output" | "platform" | "define" | "external">;
|
|
5
|
+
declare type __ΩRspackOptions = any[];
|
|
6
|
+
//#endregion
|
|
7
|
+
export { RspackOptions, __ΩRspackOptions };
|
|
8
|
+
//# sourceMappingURL=build.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"build.d.mts","names":[],"sources":["../../src/types/build.ts"],"mappings":";;;KAoBY,aAAA,GAAgB,IAAA,CAC1B,aAAA;AAAA"}
|
package/dist/types/index.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { RspackOptions, __ΩRspackOptions } from "./build.cjs";
|
|
2
|
+
import { RspackPluginContext, RspackPluginOptions, RspackPluginResolvedConfig, RspackPluginUserConfig, __ΩRspackPluginContext, __ΩRspackPluginOptions, __ΩRspackPluginResolvedConfig, __ΩRspackPluginUserConfig } from "./plugin.cjs";
|
|
3
3
|
export { RspackOptions, RspackPluginContext, RspackPluginOptions, RspackPluginResolvedConfig, RspackPluginUserConfig, __ΩRspackOptions, __ΩRspackPluginContext, __ΩRspackPluginOptions, __ΩRspackPluginResolvedConfig, __ΩRspackPluginUserConfig };
|
package/dist/types/index.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { RspackOptions, __ΩRspackOptions } from "./build.mjs";
|
|
2
|
+
import { RspackPluginContext, RspackPluginOptions, RspackPluginResolvedConfig, RspackPluginUserConfig, __ΩRspackPluginContext, __ΩRspackPluginOptions, __ΩRspackPluginResolvedConfig, __ΩRspackPluginUserConfig } from "./plugin.mjs";
|
|
3
3
|
export { RspackOptions, RspackPluginContext, RspackPluginOptions, RspackPluginResolvedConfig, RspackPluginUserConfig, __ΩRspackOptions, __ΩRspackPluginContext, __ΩRspackPluginOptions, __ΩRspackPluginResolvedConfig, __ΩRspackPluginUserConfig };
|
package/dist/types/plugin.d.cts
CHANGED
|
@@ -1,2 +1,19 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { RspackOptions } from "./build.cjs";
|
|
2
|
+
import { PluginContext, ResolvedConfig, UserConfig } from "@powerlines/core";
|
|
3
|
+
|
|
4
|
+
//#region src/types/plugin.d.ts
|
|
5
|
+
type RspackPluginOptions = Partial<RspackOptions>;
|
|
6
|
+
interface RspackPluginUserConfig extends UserConfig {
|
|
7
|
+
rspack?: RspackPluginOptions;
|
|
8
|
+
}
|
|
9
|
+
interface RspackPluginResolvedConfig extends ResolvedConfig {
|
|
10
|
+
rspack: RspackOptions;
|
|
11
|
+
}
|
|
12
|
+
type RspackPluginContext<TResolvedConfig extends RspackPluginResolvedConfig = RspackPluginResolvedConfig> = PluginContext<TResolvedConfig>;
|
|
13
|
+
declare type __ΩRspackPluginOptions = any[];
|
|
14
|
+
declare type __ΩRspackPluginUserConfig = any[];
|
|
15
|
+
declare type __ΩRspackPluginResolvedConfig = any[];
|
|
16
|
+
declare type __ΩRspackPluginContext = any[];
|
|
17
|
+
//#endregion
|
|
18
|
+
export { RspackPluginContext, RspackPluginOptions, RspackPluginResolvedConfig, RspackPluginUserConfig, __ΩRspackPluginContext, __ΩRspackPluginOptions, __ΩRspackPluginResolvedConfig, __ΩRspackPluginUserConfig };
|
|
19
|
+
//# sourceMappingURL=plugin.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plugin.d.cts","names":[],"sources":["../../src/types/plugin.ts"],"mappings":";;;;KAqBY,mBAAA,GAAsB,OAAA,CAAQ,aAAA;AAAA,UAEzB,sBAAA,SAA+B,UAAA;EAC9C,MAAA,GAAS,mBAAA;AAAA;AAAA,UAGM,0BAAA,SAAmC,cAAA;EAClD,MAAA,EAAQ,aAAA;AAAA;AAAA,KAGE,mBAAA,yBACc,0BAAA,GACtB,0BAAA,IACA,aAAA,CAAc,eAAA;AAAA"}
|
package/dist/types/plugin.d.mts
CHANGED
|
@@ -1,2 +1,19 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { RspackOptions } from "./build.mjs";
|
|
2
|
+
import { PluginContext, ResolvedConfig, UserConfig } from "@powerlines/core";
|
|
3
|
+
|
|
4
|
+
//#region src/types/plugin.d.ts
|
|
5
|
+
type RspackPluginOptions = Partial<RspackOptions>;
|
|
6
|
+
interface RspackPluginUserConfig extends UserConfig {
|
|
7
|
+
rspack?: RspackPluginOptions;
|
|
8
|
+
}
|
|
9
|
+
interface RspackPluginResolvedConfig extends ResolvedConfig {
|
|
10
|
+
rspack: RspackOptions;
|
|
11
|
+
}
|
|
12
|
+
type RspackPluginContext<TResolvedConfig extends RspackPluginResolvedConfig = RspackPluginResolvedConfig> = PluginContext<TResolvedConfig>;
|
|
13
|
+
declare type __ΩRspackPluginOptions = any[];
|
|
14
|
+
declare type __ΩRspackPluginUserConfig = any[];
|
|
15
|
+
declare type __ΩRspackPluginResolvedConfig = any[];
|
|
16
|
+
declare type __ΩRspackPluginContext = any[];
|
|
17
|
+
//#endregion
|
|
18
|
+
export { RspackPluginContext, RspackPluginOptions, RspackPluginResolvedConfig, RspackPluginUserConfig, __ΩRspackPluginContext, __ΩRspackPluginOptions, __ΩRspackPluginResolvedConfig, __ΩRspackPluginUserConfig };
|
|
19
|
+
//# sourceMappingURL=plugin.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plugin.d.mts","names":[],"sources":["../../src/types/plugin.ts"],"mappings":";;;;KAqBY,mBAAA,GAAsB,OAAA,CAAQ,aAAA;AAAA,UAEzB,sBAAA,SAA+B,UAAA;EAC9C,MAAA,GAAS,mBAAA;AAAA;AAAA,UAGM,0BAAA,SAAmC,cAAA;EAClD,MAAA,EAAQ,aAAA;AAAA;AAAA,KAGE,mBAAA,yBACc,0BAAA,GACtB,0BAAA,IACA,aAAA,CAAc,eAAA;AAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-rspack",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.351",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "A package containing a Powerlines plugin to build projects using Webpack.",
|
|
6
6
|
"keywords": ["rspack", "powerlines", "storm-software", "powerlines-plugin"],
|
|
@@ -53,7 +53,6 @@
|
|
|
53
53
|
"import": "./dist/helpers/unplugin.mjs",
|
|
54
54
|
"require": "./dist/helpers/unplugin.cjs"
|
|
55
55
|
},
|
|
56
|
-
"./resolve-options-FDaPmq2Y": "./dist/resolve-options-FDaPmq2Y.cjs",
|
|
57
56
|
"./types": {
|
|
58
57
|
"import": "./dist/types/index.mjs",
|
|
59
58
|
"require": "./dist/types/index.cjs"
|
|
@@ -66,7 +65,7 @@
|
|
|
66
65
|
"import": "./dist/types/plugin.mjs",
|
|
67
66
|
"require": "./dist/types/plugin.cjs"
|
|
68
67
|
},
|
|
69
|
-
"
|
|
68
|
+
"./package.json": "./package.json"
|
|
70
69
|
},
|
|
71
70
|
"main": "./dist/index.cjs",
|
|
72
71
|
"module": "./dist/index.mjs",
|
|
@@ -76,11 +75,11 @@
|
|
|
76
75
|
"peerDependencies": { "@rspack/core": ">=1.5.0" },
|
|
77
76
|
"peerDependenciesMeta": { "@rspack/core": { "optional": false } },
|
|
78
77
|
"dependencies": {
|
|
79
|
-
"@powerlines/core": "^0.3.
|
|
78
|
+
"@powerlines/core": "^0.3.5",
|
|
80
79
|
"@stryke/path": "^0.26.19",
|
|
81
80
|
"defu": "^6.1.4"
|
|
82
81
|
},
|
|
83
82
|
"devDependencies": { "@types/node": "^25.5.0", "@rspack/core": "^1.7.8" },
|
|
84
83
|
"publishConfig": { "access": "public" },
|
|
85
|
-
"gitHead": "
|
|
84
|
+
"gitHead": "0fcc7a33523c8b70c1b5f65684a8b6a15ab68eba"
|
|
86
85
|
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Configuration } from "@rspack/core";
|
|
2
|
-
|
|
3
|
-
//#region src/types/build.d.ts
|
|
4
|
-
type RspackOptions = Omit<Configuration, "name" | "entry" | "entryPoints" | "tsconfig" | "tsconfigRaw" | "environments" | "output" | "platform" | "define" | "external">;
|
|
5
|
-
declare type __ΩRspackOptions = any[];
|
|
6
|
-
//#endregion
|
|
7
|
-
export { __ΩRspackOptions as n, RspackOptions as t };
|
|
8
|
-
//# sourceMappingURL=build-B8svWKBw.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"build-B8svWKBw.d.cts","names":[],"sources":["../src/types/build.ts"],"mappings":";;;KAoBY,aAAA,GAAgB,IAAA,CAC1B,aAAA;AAAA"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Configuration } from "@rspack/core";
|
|
2
|
-
|
|
3
|
-
//#region src/types/build.d.ts
|
|
4
|
-
type RspackOptions = Omit<Configuration, "name" | "entry" | "entryPoints" | "tsconfig" | "tsconfigRaw" | "environments" | "output" | "platform" | "define" | "external">;
|
|
5
|
-
declare type __ΩRspackOptions = any[];
|
|
6
|
-
//#endregion
|
|
7
|
-
export { __ΩRspackOptions as n, RspackOptions as t };
|
|
8
|
-
//# sourceMappingURL=build-yAGe0Dv9.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"build-yAGe0Dv9.d.mts","names":[],"sources":["../src/types/build.ts"],"mappings":";;;KAoBY,aAAA,GAAgB,IAAA,CAC1B,aAAA;AAAA"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { t as RspackOptions } from "./build-yAGe0Dv9.mjs";
|
|
2
|
-
import { PluginContext, ResolvedConfig, UserConfig } from "@powerlines/core";
|
|
3
|
-
|
|
4
|
-
//#region src/types/plugin.d.ts
|
|
5
|
-
type RspackPluginOptions = Partial<RspackOptions>;
|
|
6
|
-
interface RspackPluginUserConfig extends UserConfig {
|
|
7
|
-
rspack?: RspackPluginOptions;
|
|
8
|
-
}
|
|
9
|
-
interface RspackPluginResolvedConfig extends ResolvedConfig {
|
|
10
|
-
rspack: RspackOptions;
|
|
11
|
-
}
|
|
12
|
-
type RspackPluginContext<TResolvedConfig extends RspackPluginResolvedConfig = RspackPluginResolvedConfig> = PluginContext<TResolvedConfig>;
|
|
13
|
-
declare type __ΩRspackPluginOptions = any[];
|
|
14
|
-
declare type __ΩRspackPluginUserConfig = any[];
|
|
15
|
-
declare type __ΩRspackPluginResolvedConfig = any[];
|
|
16
|
-
declare type __ΩRspackPluginContext = any[];
|
|
17
|
-
//#endregion
|
|
18
|
-
export { __ΩRspackPluginContext as a, __ΩRspackPluginUserConfig as c, RspackPluginUserConfig as i, RspackPluginOptions as n, __ΩRspackPluginOptions as o, RspackPluginResolvedConfig as r, __ΩRspackPluginResolvedConfig as s, RspackPluginContext as t };
|
|
19
|
-
//# sourceMappingURL=plugin-B3EYM2p9.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"plugin-B3EYM2p9.d.mts","names":[],"sources":["../src/types/plugin.ts"],"mappings":";;;;KAqBY,mBAAA,GAAsB,OAAA,CAAQ,aAAA;AAAA,UAEzB,sBAAA,SAA+B,UAAA;EAC9C,MAAA,GAAS,mBAAA;AAAA;AAAA,UAGM,0BAAA,SAAmC,cAAA;EAClD,MAAA,EAAQ,aAAA;AAAA;AAAA,KAGE,mBAAA,yBACc,0BAAA,GACtB,0BAAA,IACA,aAAA,CAAc,eAAA;AAAA"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { t as RspackOptions } from "./build-B8svWKBw.cjs";
|
|
2
|
-
import { PluginContext, ResolvedConfig, UserConfig } from "@powerlines/core";
|
|
3
|
-
|
|
4
|
-
//#region src/types/plugin.d.ts
|
|
5
|
-
type RspackPluginOptions = Partial<RspackOptions>;
|
|
6
|
-
interface RspackPluginUserConfig extends UserConfig {
|
|
7
|
-
rspack?: RspackPluginOptions;
|
|
8
|
-
}
|
|
9
|
-
interface RspackPluginResolvedConfig extends ResolvedConfig {
|
|
10
|
-
rspack: RspackOptions;
|
|
11
|
-
}
|
|
12
|
-
type RspackPluginContext<TResolvedConfig extends RspackPluginResolvedConfig = RspackPluginResolvedConfig> = PluginContext<TResolvedConfig>;
|
|
13
|
-
declare type __ΩRspackPluginOptions = any[];
|
|
14
|
-
declare type __ΩRspackPluginUserConfig = any[];
|
|
15
|
-
declare type __ΩRspackPluginResolvedConfig = any[];
|
|
16
|
-
declare type __ΩRspackPluginContext = any[];
|
|
17
|
-
//#endregion
|
|
18
|
-
export { __ΩRspackPluginContext as a, __ΩRspackPluginUserConfig as c, RspackPluginUserConfig as i, RspackPluginOptions as n, __ΩRspackPluginOptions as o, RspackPluginResolvedConfig as r, __ΩRspackPluginResolvedConfig as s, RspackPluginContext as t };
|
|
19
|
-
//# sourceMappingURL=plugin-CxAN1Lu0.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"plugin-CxAN1Lu0.d.cts","names":[],"sources":["../src/types/plugin.ts"],"mappings":";;;;KAqBY,mBAAA,GAAsB,OAAA,CAAQ,aAAA;AAAA,UAEzB,sBAAA,SAA+B,UAAA;EAC9C,MAAA,GAAS,mBAAA;AAAA;AAAA,UAGM,0BAAA,SAAmC,cAAA;EAClD,MAAA,EAAQ,aAAA;AAAA;AAAA,KAGE,mBAAA,yBACc,0BAAA,GACtB,0BAAA,IACA,aAAA,CAAc,eAAA;AAAA"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Context } from "@powerlines/core";
|
|
2
|
-
import { Configuration } from "@rspack/core";
|
|
3
|
-
|
|
4
|
-
//#region src/helpers/resolve-options.d.ts
|
|
5
|
-
/**
|
|
6
|
-
* Resolves the options for [rspack](https://rspack.rs/).
|
|
7
|
-
*
|
|
8
|
-
* @param context - The build context.
|
|
9
|
-
* @returns The resolved options.
|
|
10
|
-
*/
|
|
11
|
-
declare function resolveOptions(context: Context): Configuration;
|
|
12
|
-
//#endregion
|
|
13
|
-
export { resolveOptions as t };
|
|
14
|
-
//# sourceMappingURL=resolve-options-2T46cfhr.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"resolve-options-2T46cfhr.d.cts","names":[],"sources":["../src/helpers/resolve-options.ts"],"mappings":";;;;;;AAiCA;;;;iBAAgB,cAAA,CAAe,OAAA,EAAS,OAAA,GAAU,aAAA"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Configuration } from "@rspack/core";
|
|
2
|
-
import { Context } from "@powerlines/core";
|
|
3
|
-
|
|
4
|
-
//#region src/helpers/resolve-options.d.ts
|
|
5
|
-
/**
|
|
6
|
-
* Resolves the options for [rspack](https://rspack.rs/).
|
|
7
|
-
*
|
|
8
|
-
* @param context - The build context.
|
|
9
|
-
* @returns The resolved options.
|
|
10
|
-
*/
|
|
11
|
-
declare function resolveOptions(context: Context): Configuration;
|
|
12
|
-
//#endregion
|
|
13
|
-
export { resolveOptions as t };
|
|
14
|
-
//# sourceMappingURL=resolve-options-BDVDHrY7.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"resolve-options-BDVDHrY7.d.mts","names":[],"sources":["../src/helpers/resolve-options.ts"],"mappings":";;;;;;AAiCA;;;;iBAAgB,cAAA,CAAe,OAAA,EAAS,OAAA,GAAU,aAAA"}
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
//#region \0rolldown/runtime.js
|
|
2
|
-
var __create = Object.create;
|
|
3
|
-
var __defProp = Object.defineProperty;
|
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
-
var __copyProps = (to, from, except, desc) => {
|
|
9
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
10
|
-
for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
11
|
-
key = keys[i];
|
|
12
|
-
if (!__hasOwnProp.call(to, key) && key !== except) {
|
|
13
|
-
__defProp(to, key, {
|
|
14
|
-
get: ((k) => from[k]).bind(null, key),
|
|
15
|
-
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
16
|
-
});
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
return to;
|
|
21
|
-
};
|
|
22
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
23
|
-
value: mod,
|
|
24
|
-
enumerable: true
|
|
25
|
-
}) : target, mod));
|
|
26
|
-
|
|
27
|
-
//#endregion
|
|
28
|
-
let defu = require("defu");
|
|
29
|
-
defu = __toESM(defu);
|
|
30
|
-
let _stryke_path_join_paths = require("@stryke/path/join-paths");
|
|
31
|
-
|
|
32
|
-
//#region src/helpers/resolve-options.ts
|
|
33
|
-
/**
|
|
34
|
-
* Resolves the options for [rspack](https://rspack.rs/).
|
|
35
|
-
*
|
|
36
|
-
* @param context - The build context.
|
|
37
|
-
* @returns The resolved options.
|
|
38
|
-
*/
|
|
39
|
-
function resolveOptions(context) {
|
|
40
|
-
return (0, defu.default)({ resolve: { alias: context.alias } }, context.config.rspack ? context.config.rspack : {}, {
|
|
41
|
-
external: context.config.resolve.external,
|
|
42
|
-
noExternal: context.config.resolve.noExternal,
|
|
43
|
-
skipNodeModulesBundle: context.config.resolve.skipNodeModulesBundle
|
|
44
|
-
}, {
|
|
45
|
-
output: { path: (0, _stryke_path_join_paths.joinPaths)(context.workspaceConfig.workspaceRoot, context.config.output.buildPath) },
|
|
46
|
-
name: context.config.name,
|
|
47
|
-
node: context.config.platform === "node" ? {
|
|
48
|
-
__dirname: true,
|
|
49
|
-
__filename: true,
|
|
50
|
-
global: true
|
|
51
|
-
} : false,
|
|
52
|
-
mode: context.config.mode === "development" ? "development" : "production",
|
|
53
|
-
recordsInputPath: (0, _stryke_path_join_paths.joinPaths)(context.cachePath, "rspack", ".rspack-records.json"),
|
|
54
|
-
recordsOutputPath: (0, _stryke_path_join_paths.joinPaths)(context.cachePath, "rspack", ".rspack-records.json"),
|
|
55
|
-
context: (0, _stryke_path_join_paths.joinPaths)(context.workspaceConfig.workspaceRoot, context.config.root),
|
|
56
|
-
noExternal: context.builtins,
|
|
57
|
-
cache: context.config.mode === "development",
|
|
58
|
-
devtool: context.config.mode !== "development" ? false : "source-map",
|
|
59
|
-
optimization: { minimize: context.config.mode !== "development" }
|
|
60
|
-
});
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
//#endregion
|
|
64
|
-
Object.defineProperty(exports, '__toESM', {
|
|
65
|
-
enumerable: true,
|
|
66
|
-
get: function () {
|
|
67
|
-
return __toESM;
|
|
68
|
-
}
|
|
69
|
-
});
|
|
70
|
-
Object.defineProperty(exports, 'resolveOptions', {
|
|
71
|
-
enumerable: true,
|
|
72
|
-
get: function () {
|
|
73
|
-
return resolveOptions;
|
|
74
|
-
}
|
|
75
|
-
});
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { t as RspackPluginContext } from "./plugin-CxAN1Lu0.cjs";
|
|
2
|
-
import * as unplugin from "unplugin";
|
|
3
|
-
|
|
4
|
-
//#region src/helpers/unplugin.d.ts
|
|
5
|
-
declare function createRspackPlugin(context: RspackPluginContext): unplugin.RspackPluginInstance;
|
|
6
|
-
//#endregion
|
|
7
|
-
export { createRspackPlugin as t };
|
|
8
|
-
//# sourceMappingURL=unplugin-73PkIqlb.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"unplugin-73PkIqlb.d.cts","names":[],"sources":["../src/helpers/unplugin.ts"],"mappings":";;;;iBAsBgB,kBAAA,CAAmB,OAAA,EAAS,mBAAA,GAAmB,QAAA,CAAA,oBAAA"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { t as RspackPluginContext } from "./plugin-B3EYM2p9.mjs";
|
|
2
|
-
import * as unplugin from "unplugin";
|
|
3
|
-
|
|
4
|
-
//#region src/helpers/unplugin.d.ts
|
|
5
|
-
declare function createRspackPlugin$1(context: RspackPluginContext): unplugin.RspackPluginInstance;
|
|
6
|
-
//#endregion
|
|
7
|
-
export { createRspackPlugin$1 as t };
|
|
8
|
-
//# sourceMappingURL=unplugin-Bem3qeWR.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"unplugin-Bem3qeWR.d.mts","names":[],"sources":["../src/helpers/unplugin.ts"],"mappings":";;;;iBAsBgB,oBAAA,CAAmB,OAAA,EAAS,mBAAA,GAAmB,QAAA,CAAA,oBAAA"}
|