@powerlines/plugin-webpack 0.5.307 → 0.5.308

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.
Files changed (129) hide show
  1. package/dist/build-Be4opB6C.d.cts +8 -0
  2. package/dist/build-Be4opB6C.d.cts.map +1 -0
  3. package/dist/build-DVeo-6VK.d.mts +8 -0
  4. package/dist/build-DVeo-6VK.d.mts.map +1 -0
  5. package/dist/helpers/index.cjs +5 -4
  6. package/dist/helpers/index.d.cts +5 -2
  7. package/dist/helpers/index.d.mts +5 -2
  8. package/dist/helpers/index.mjs +3 -2
  9. package/dist/helpers/resolve-options.cjs +2 -37
  10. package/dist/helpers/resolve-options.d.cts +2 -15
  11. package/dist/helpers/resolve-options.d.mts +2 -16
  12. package/dist/helpers/resolve-options.mjs +2 -36
  13. package/dist/helpers/unplugin.cjs +2 -11
  14. package/dist/helpers/unplugin.d.cts +4 -8
  15. package/dist/helpers/unplugin.d.mts +4 -8
  16. package/dist/helpers/unplugin.mjs +2 -11
  17. package/dist/helpers-C9XSjwSZ.mjs +1 -0
  18. package/dist/helpers-yB1XkvQI.cjs +0 -0
  19. package/dist/index-B_e8BwCm.d.cts +1 -0
  20. package/dist/index-CW2WHUXP.d.mts +1 -0
  21. package/dist/index-CiBIKhMu.d.cts +1 -0
  22. package/dist/index-mH1MEWOz.d.mts +1 -0
  23. package/dist/index.cjs +10 -9
  24. package/dist/index.d.cts +7 -5
  25. package/dist/index.d.cts.map +1 -1
  26. package/dist/index.d.mts +7 -7
  27. package/dist/index.mjs +5 -3
  28. package/dist/index.mjs.map +1 -1
  29. package/dist/plugin-BykaHmY4.mjs +1 -0
  30. package/dist/plugin-COnpsiZi.d.cts +19 -0
  31. package/dist/plugin-COnpsiZi.d.cts.map +1 -0
  32. package/dist/plugin-Ckx8qAq8.cjs +0 -0
  33. package/dist/plugin-ULwkWpRB.d.mts +19 -0
  34. package/dist/plugin-ULwkWpRB.d.mts.map +1 -0
  35. package/dist/resolve-options-Bqxsebcu.d.mts +15 -0
  36. package/dist/resolve-options-Bqxsebcu.d.mts.map +1 -0
  37. package/dist/resolve-options-CzhvxyM8.cjs +75 -0
  38. package/dist/resolve-options-DcJRe7H7.d.cts +15 -0
  39. package/dist/resolve-options-DcJRe7H7.d.cts.map +1 -0
  40. package/dist/resolve-options-u4_-_S6N.mjs +37 -0
  41. package/dist/resolve-options-u4_-_S6N.mjs.map +1 -0
  42. package/dist/types/build.d.cts +2 -8
  43. package/dist/types/build.d.mts +2 -8
  44. package/dist/types/index.cjs +2 -0
  45. package/dist/types/index.d.cts +3 -1
  46. package/dist/types/index.d.mts +3 -1
  47. package/dist/types/index.mjs +3 -0
  48. package/dist/types/plugin.cjs +1 -0
  49. package/dist/types/plugin.d.cts +3 -20
  50. package/dist/types/plugin.d.mts +3 -21
  51. package/dist/types/plugin.mjs +2 -0
  52. package/dist/types-DoAb8Wzc.mjs +1 -0
  53. package/dist/types-a8gm_IaQ.cjs +0 -0
  54. package/dist/unplugin-B37RSckV.d.cts +8 -0
  55. package/dist/unplugin-B37RSckV.d.cts.map +1 -0
  56. package/dist/unplugin-BnUJp-Il.cjs +16 -0
  57. package/dist/unplugin-BpdMF4ey.mjs +11 -0
  58. package/dist/unplugin-BpdMF4ey.mjs.map +1 -0
  59. package/dist/unplugin-D1Xsvb_L.d.mts +8 -0
  60. package/dist/unplugin-D1Xsvb_L.d.mts.map +1 -0
  61. package/package.json +3 -3
  62. package/dist/_virtual/rolldown_runtime.cjs +0 -29
  63. package/dist/core/src/lib/logger.cjs +0 -41
  64. package/dist/core/src/lib/logger.mjs +0 -40
  65. package/dist/core/src/lib/logger.mjs.map +0 -1
  66. package/dist/core/src/lib/unplugin/helpers.cjs +0 -19
  67. package/dist/core/src/lib/unplugin/helpers.mjs +0 -19
  68. package/dist/core/src/lib/unplugin/helpers.mjs.map +0 -1
  69. package/dist/core/src/lib/unplugin/index.cjs +0 -3
  70. package/dist/core/src/lib/unplugin/index.mjs +0 -5
  71. package/dist/core/src/lib/unplugin/module-resolution.cjs +0 -66
  72. package/dist/core/src/lib/unplugin/module-resolution.mjs +0 -66
  73. package/dist/core/src/lib/unplugin/module-resolution.mjs.map +0 -1
  74. package/dist/core/src/lib/unplugin/plugin.cjs +0 -71
  75. package/dist/core/src/lib/unplugin/plugin.mjs +0 -71
  76. package/dist/core/src/lib/unplugin/plugin.mjs.map +0 -1
  77. package/dist/core/src/lib/utilities/source-file.cjs +0 -22
  78. package/dist/core/src/lib/utilities/source-file.mjs +0 -22
  79. package/dist/core/src/lib/utilities/source-file.mjs.map +0 -1
  80. package/dist/core/src/types/api.d.cts +0 -103
  81. package/dist/core/src/types/api.d.cts.map +0 -1
  82. package/dist/core/src/types/api.d.mts +0 -103
  83. package/dist/core/src/types/api.d.mts.map +0 -1
  84. package/dist/core/src/types/commands.d.cts +0 -9
  85. package/dist/core/src/types/commands.d.cts.map +0 -1
  86. package/dist/core/src/types/commands.d.mts +0 -10
  87. package/dist/core/src/types/commands.d.mts.map +0 -1
  88. package/dist/core/src/types/config.d.cts +0 -551
  89. package/dist/core/src/types/config.d.cts.map +0 -1
  90. package/dist/core/src/types/config.d.mts +0 -551
  91. package/dist/core/src/types/config.d.mts.map +0 -1
  92. package/dist/core/src/types/context.d.cts +0 -511
  93. package/dist/core/src/types/context.d.cts.map +0 -1
  94. package/dist/core/src/types/context.d.mts +0 -511
  95. package/dist/core/src/types/context.d.mts.map +0 -1
  96. package/dist/core/src/types/fs.d.cts +0 -487
  97. package/dist/core/src/types/fs.d.cts.map +0 -1
  98. package/dist/core/src/types/fs.d.mts +0 -487
  99. package/dist/core/src/types/fs.d.mts.map +0 -1
  100. package/dist/core/src/types/hooks.d.cts +0 -99
  101. package/dist/core/src/types/hooks.d.cts.map +0 -1
  102. package/dist/core/src/types/hooks.d.mts +0 -99
  103. package/dist/core/src/types/hooks.d.mts.map +0 -1
  104. package/dist/core/src/types/index.d.mts +0 -9
  105. package/dist/core/src/types/plugin.d.cts +0 -204
  106. package/dist/core/src/types/plugin.d.cts.map +0 -1
  107. package/dist/core/src/types/plugin.d.mts +0 -204
  108. package/dist/core/src/types/plugin.d.mts.map +0 -1
  109. package/dist/core/src/types/tsconfig.d.cts +0 -70
  110. package/dist/core/src/types/tsconfig.d.cts.map +0 -1
  111. package/dist/core/src/types/tsconfig.d.mts +0 -70
  112. package/dist/core/src/types/tsconfig.d.mts.map +0 -1
  113. package/dist/core/src/types/unplugin.cjs +0 -21
  114. package/dist/core/src/types/unplugin.d.cts +0 -24
  115. package/dist/core/src/types/unplugin.d.cts.map +0 -1
  116. package/dist/core/src/types/unplugin.d.mts +0 -25
  117. package/dist/core/src/types/unplugin.d.mts.map +0 -1
  118. package/dist/core/src/types/unplugin.mjs +0 -22
  119. package/dist/core/src/types/unplugin.mjs.map +0 -1
  120. package/dist/helpers/resolve-options.d.cts.map +0 -1
  121. package/dist/helpers/resolve-options.d.mts.map +0 -1
  122. package/dist/helpers/resolve-options.mjs.map +0 -1
  123. package/dist/helpers/unplugin.d.cts.map +0 -1
  124. package/dist/helpers/unplugin.d.mts.map +0 -1
  125. package/dist/helpers/unplugin.mjs.map +0 -1
  126. package/dist/types/build.d.cts.map +0 -1
  127. package/dist/types/build.d.mts.map +0 -1
  128. package/dist/types/plugin.d.cts.map +0 -1
  129. package/dist/types/plugin.d.mts.map +0 -1
@@ -0,0 +1,8 @@
1
+ import { Configuration } from "webpack";
2
+
3
+ //#region src/types/build.d.ts
4
+ type WebpackOptions = Omit<Configuration, "name" | "entry" | "entryPoints" | "tsconfig" | "tsconfigRaw" | "environments" | "output" | "platform" | "define" | "external">;
5
+ declare type __ΩWebpackOptions = any[];
6
+ //#endregion
7
+ export { __ΩWebpackOptions as n, WebpackOptions as t };
8
+ //# sourceMappingURL=build-Be4opB6C.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"build-Be4opB6C.d.cts","names":[],"sources":["../src/types/build.ts"],"sourcesContent":[],"mappings":";;;KAoBY,cAAA,GAAiB,KAC3B"}
@@ -0,0 +1,8 @@
1
+ import { Configuration } from "webpack";
2
+
3
+ //#region src/types/build.d.ts
4
+ type WebpackOptions = Omit<Configuration, "name" | "entry" | "entryPoints" | "tsconfig" | "tsconfigRaw" | "environments" | "output" | "platform" | "define" | "external">;
5
+ declare type __ΩWebpackOptions = any[];
6
+ //#endregion
7
+ export { __ΩWebpackOptions as n, WebpackOptions as t };
8
+ //# sourceMappingURL=build-DVeo-6VK.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"build-DVeo-6VK.d.mts","names":[],"sources":["../src/types/build.ts"],"sourcesContent":[],"mappings":";;;KAoBY,cAAA,GAAiB,KAC3B"}
@@ -1,5 +1,6 @@
1
- const require_helpers_resolve_options = require('./resolve-options.cjs');
2
- const require_helpers_unplugin = require('./unplugin.cjs');
1
+ const require_resolve_options = require('../resolve-options-CzhvxyM8.cjs');
2
+ const require_unplugin = require('../unplugin-BnUJp-Il.cjs');
3
+ require('../helpers-yB1XkvQI.cjs');
3
4
 
4
- exports.createWebpackPlugin = require_helpers_unplugin.createWebpackPlugin;
5
- exports.resolveOptions = require_helpers_resolve_options.resolveOptions;
5
+ exports.createWebpackPlugin = require_unplugin.createWebpackPlugin;
6
+ exports.resolveOptions = require_resolve_options.resolveOptions;
@@ -1,3 +1,6 @@
1
- import { resolveOptions } from "./resolve-options.cjs";
2
- import { createWebpackPlugin } from "./unplugin.cjs";
1
+ import { t as resolveOptions } from "../resolve-options-DcJRe7H7.cjs";
2
+ import "../build-Be4opB6C.cjs";
3
+ import "../plugin-COnpsiZi.cjs";
4
+ import { t as createWebpackPlugin } from "../unplugin-B37RSckV.cjs";
5
+ import "../index-CiBIKhMu.cjs";
3
6
  export { createWebpackPlugin, resolveOptions };
@@ -1,3 +1,6 @@
1
- import { resolveOptions } from "./resolve-options.mjs";
2
- import { createWebpackPlugin } from "./unplugin.mjs";
1
+ import { t as resolveOptions } from "../resolve-options-Bqxsebcu.mjs";
2
+ import "../build-DVeo-6VK.mjs";
3
+ import "../plugin-ULwkWpRB.mjs";
4
+ import { t as createWebpackPlugin } from "../unplugin-D1Xsvb_L.mjs";
5
+ import "../index-mH1MEWOz.mjs";
3
6
  export { createWebpackPlugin, resolveOptions };
@@ -1,4 +1,5 @@
1
- import { resolveOptions } from "./resolve-options.mjs";
2
- import { createWebpackPlugin } from "./unplugin.mjs";
1
+ import { t as resolveOptions } from "../resolve-options-u4_-_S6N.mjs";
2
+ import { t as createWebpackPlugin } from "../unplugin-BpdMF4ey.mjs";
3
+ import "../helpers-C9XSjwSZ.mjs";
3
4
 
4
5
  export { createWebpackPlugin, resolveOptions };
@@ -1,38 +1,3 @@
1
- const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
2
- let defu = require("defu");
3
- defu = require_rolldown_runtime.__toESM(defu);
4
- let __stryke_path_join_paths = require("@stryke/path/join-paths");
1
+ const require_resolve_options = require('../resolve-options-CzhvxyM8.cjs');
5
2
 
6
- //#region src/helpers/resolve-options.ts
7
- /**
8
- * Resolves the options for [webpack](https://webpack.js.org/).
9
- *
10
- * @param context - The build context.
11
- * @returns The resolved options.
12
- */
13
- function resolveOptions(context) {
14
- return (0, defu.default)({ resolve: { alias: context.alias } }, context.config.webpack ? context.config.webpack : {}, {
15
- output: { path: (0, __stryke_path_join_paths.joinPaths)(context.workspaceConfig.workspaceRoot, context.config.output.buildPath) },
16
- name: context.config.name,
17
- plugins: context.config.webpack?.plugins ?? [],
18
- node: context.config.platform === "node" ? {
19
- __dirname: true,
20
- __filename: true,
21
- global: true
22
- } : false,
23
- mode: context.config.mode === "development" ? "development" : "production",
24
- cache: {
25
- type: "filesystem",
26
- cacheDirectory: (0, __stryke_path_join_paths.joinPaths)(context.cachePath, "webpack", "cache")
27
- },
28
- recordsInputPath: (0, __stryke_path_join_paths.joinPaths)(context.cachePath, "webpack", ".webpack-records.json"),
29
- recordsOutputPath: (0, __stryke_path_join_paths.joinPaths)(context.cachePath, "webpack", ".webpack-records.json"),
30
- context: (0, __stryke_path_join_paths.joinPaths)(context.workspaceConfig.workspaceRoot, context.config.root),
31
- noExternal: context.builtins,
32
- devtool: context.config.mode !== "development" ? false : "source-map",
33
- optimization: { minimize: context.config.mode !== "development" }
34
- });
35
- }
36
-
37
- //#endregion
38
- exports.resolveOptions = resolveOptions;
3
+ exports.resolveOptions = require_resolve_options.resolveOptions;
@@ -1,15 +1,2 @@
1
- import { Context } from "../core/src/types/context.cjs";
2
- import { Configuration } from "webpack";
3
-
4
- //#region src/helpers/resolve-options.d.ts
5
-
6
- /**
7
- * Resolves the options for [webpack](https://webpack.js.org/).
8
- *
9
- * @param context - The build context.
10
- * @returns The resolved options.
11
- */
12
- declare function resolveOptions(context: Context): Configuration;
13
- //#endregion
14
- export { resolveOptions };
15
- //# sourceMappingURL=resolve-options.d.cts.map
1
+ import { t as resolveOptions } from "../resolve-options-DcJRe7H7.cjs";
2
+ export { resolveOptions };
@@ -1,16 +1,2 @@
1
- import { Context } from "../core/src/types/context.mjs";
2
- import "../core/src/types/index.mjs";
3
- import { Configuration } from "webpack";
4
-
5
- //#region src/helpers/resolve-options.d.ts
6
-
7
- /**
8
- * Resolves the options for [webpack](https://webpack.js.org/).
9
- *
10
- * @param context - The build context.
11
- * @returns The resolved options.
12
- */
13
- declare function resolveOptions(context: Context): Configuration;
14
- //#endregion
15
- export { resolveOptions };
16
- //# sourceMappingURL=resolve-options.d.mts.map
1
+ import { t as resolveOptions } from "../resolve-options-Bqxsebcu.mjs";
2
+ export { resolveOptions };
@@ -1,37 +1,3 @@
1
- import defu from "defu";
2
- import { joinPaths } from "@stryke/path/join-paths";
1
+ import { t as resolveOptions } from "../resolve-options-u4_-_S6N.mjs";
3
2
 
4
- //#region src/helpers/resolve-options.ts
5
- /**
6
- * Resolves the options for [webpack](https://webpack.js.org/).
7
- *
8
- * @param context - The build context.
9
- * @returns The resolved options.
10
- */
11
- function resolveOptions(context) {
12
- return defu({ resolve: { alias: context.alias } }, context.config.webpack ? context.config.webpack : {}, {
13
- output: { path: joinPaths(context.workspaceConfig.workspaceRoot, context.config.output.buildPath) },
14
- name: context.config.name,
15
- plugins: context.config.webpack?.plugins ?? [],
16
- node: context.config.platform === "node" ? {
17
- __dirname: true,
18
- __filename: true,
19
- global: true
20
- } : false,
21
- mode: context.config.mode === "development" ? "development" : "production",
22
- cache: {
23
- type: "filesystem",
24
- cacheDirectory: joinPaths(context.cachePath, "webpack", "cache")
25
- },
26
- recordsInputPath: joinPaths(context.cachePath, "webpack", ".webpack-records.json"),
27
- recordsOutputPath: joinPaths(context.cachePath, "webpack", ".webpack-records.json"),
28
- context: joinPaths(context.workspaceConfig.workspaceRoot, context.config.root),
29
- noExternal: context.builtins,
30
- devtool: context.config.mode !== "development" ? false : "source-map",
31
- optimization: { minimize: context.config.mode !== "development" }
32
- });
33
- }
34
-
35
- //#endregion
36
- export { resolveOptions };
37
- //# sourceMappingURL=resolve-options.mjs.map
3
+ export { resolveOptions };
@@ -1,12 +1,3 @@
1
- const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
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-BnUJp-Il.cjs');
5
2
 
6
- //#region src/helpers/unplugin.ts
7
- function createWebpackPlugin(context) {
8
- return (0, unplugin.createWebpackPlugin)(require_plugin.createUnplugin(context))({});
9
- }
10
-
11
- //#endregion
12
- exports.createWebpackPlugin = createWebpackPlugin;
3
+ exports.createWebpackPlugin = require_unplugin.createWebpackPlugin;
@@ -1,8 +1,4 @@
1
- import { WebpackPluginContext } from "../types/plugin.cjs";
2
- import * as webpack0 from "webpack";
3
-
4
- //#region src/helpers/unplugin.d.ts
5
- declare function createWebpackPlugin(context: WebpackPluginContext): webpack0.WebpackPluginInstance;
6
- //#endregion
7
- export { createWebpackPlugin };
8
- //# sourceMappingURL=unplugin.d.cts.map
1
+ import "../build-Be4opB6C.cjs";
2
+ import "../plugin-COnpsiZi.cjs";
3
+ import { t as createWebpackPlugin } from "../unplugin-B37RSckV.cjs";
4
+ export { createWebpackPlugin };
@@ -1,8 +1,4 @@
1
- import { WebpackPluginContext } from "../types/plugin.mjs";
2
- import * as webpack0 from "webpack";
3
-
4
- //#region src/helpers/unplugin.d.ts
5
- declare function createWebpackPlugin(context: WebpackPluginContext): webpack0.WebpackPluginInstance;
6
- //#endregion
7
- export { createWebpackPlugin };
8
- //# sourceMappingURL=unplugin.d.mts.map
1
+ import "../build-DVeo-6VK.mjs";
2
+ import "../plugin-ULwkWpRB.mjs";
3
+ import { t as createWebpackPlugin } from "../unplugin-D1Xsvb_L.mjs";
4
+ export { createWebpackPlugin };
@@ -1,12 +1,3 @@
1
- import { createUnplugin } from "../core/src/lib/unplugin/plugin.mjs";
2
- import "../core/src/lib/unplugin/index.mjs";
3
- import { createWebpackPlugin as createWebpackPlugin$1 } from "unplugin";
1
+ import { t as createWebpackPlugin } from "../unplugin-BpdMF4ey.mjs";
4
2
 
5
- //#region src/helpers/unplugin.ts
6
- function createWebpackPlugin(context) {
7
- return createWebpackPlugin$1(createUnplugin(context))({});
8
- }
9
-
10
- //#endregion
11
- export { createWebpackPlugin };
12
- //# sourceMappingURL=unplugin.mjs.map
3
+ export { createWebpackPlugin };
@@ -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,12 +1,13 @@
1
1
  Object.defineProperty(exports, '__esModule', { value: true });
2
- const require_rolldown_runtime = require('./_virtual/rolldown_runtime.cjs');
3
- const require_helpers_resolve_options = require('./helpers/resolve-options.cjs');
4
- const require_helpers_unplugin = require('./helpers/unplugin.cjs');
5
- require('./helpers/index.cjs');
2
+ const require_resolve_options = require('./resolve-options-CzhvxyM8.cjs');
3
+ const require_unplugin = require('./unplugin-BnUJp-Il.cjs');
4
+ require('./helpers-yB1XkvQI.cjs');
5
+ require('./plugin-Ckx8qAq8.cjs');
6
+ require('./types-a8gm_IaQ.cjs');
6
7
  let defu = require("defu");
7
- defu = require_rolldown_runtime.__toESM(defu);
8
+ defu = require_resolve_options.__toESM(defu);
8
9
  let webpack = require("webpack");
9
- webpack = require_rolldown_runtime.__toESM(webpack);
10
+ webpack = require_resolve_options.__toESM(webpack);
10
11
 
11
12
  //#region src/index.ts
12
13
  /**
@@ -23,14 +24,14 @@ const plugin = (options = {}) => {
23
24
  (0, webpack.default)((0, defu.default)({ entry: this.entry.reduce((ret, entry) => {
24
25
  ret[entry.output || entry.name || entry.file] = entry.file;
25
26
  return ret;
26
- }, {}) }, require_helpers_resolve_options.resolveOptions(this), { plugins: [require_helpers_unplugin.createWebpackPlugin(this)] }));
27
+ }, {}) }, require_resolve_options.resolveOptions(this), { plugins: [require_unplugin.createWebpackPlugin(this)] }));
27
28
  }
28
29
  };
29
30
  };
30
31
  var src_default = plugin;
31
32
 
32
33
  //#endregion
33
- exports.createWebpackPlugin = require_helpers_unplugin.createWebpackPlugin;
34
+ exports.createWebpackPlugin = require_unplugin.createWebpackPlugin;
34
35
  exports.default = src_default;
35
36
  exports.plugin = plugin;
36
- exports.resolveOptions = require_helpers_resolve_options.resolveOptions;
37
+ exports.resolveOptions = require_resolve_options.resolveOptions;
package/dist/index.d.cts CHANGED
@@ -1,10 +1,12 @@
1
- import { Plugin } from "./core/src/types/plugin.cjs";
2
- import { resolveOptions } from "./helpers/resolve-options.cjs";
3
- import { WebpackPluginContext, WebpackPluginOptions, WebpackPluginResolvedConfig, WebpackPluginUserConfig, __ΩWebpackPluginContext, __ΩWebpackPluginOptions, __ΩWebpackPluginResolvedConfig, __ΩWebpackPluginUserConfig } from "./types/plugin.cjs";
4
- import { createWebpackPlugin } from "./helpers/unplugin.cjs";
1
+ import { t as resolveOptions } from "./resolve-options-DcJRe7H7.cjs";
2
+ import "./build-Be4opB6C.cjs";
3
+ import { a as __ΩWebpackPluginContext, c as __ΩWebpackPluginUserConfig, i as WebpackPluginUserConfig, n as WebpackPluginOptions, o as __ΩWebpackPluginOptions, r as WebpackPluginResolvedConfig, s as __ΩWebpackPluginResolvedConfig, t as WebpackPluginContext } from "./plugin-COnpsiZi.cjs";
4
+ import { t as createWebpackPlugin } from "./unplugin-B37RSckV.cjs";
5
+ import "./index-CiBIKhMu.cjs";
6
+ import "./index-B_e8BwCm.cjs";
7
+ import { Plugin } from "@powerlines/core/types";
5
8
 
6
9
  //#region src/index.d.ts
7
-
8
10
  /**
9
11
  * A Powerlines plugin to assist in developing other Powerlines plugins.
10
12
  */
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.ts"],"sourcesContent":[],"mappings":";;;;;;;;;AAmCA;AACmB,cADN,MACM,EAAA,CAAA,iBAAA,oBAAA,GAAuB,oBAAvB,CAAA,CAAA,OAAA,CAAA,EAER,oBAFQ,EAAA,GAGhB,MAHgB,CAGT,QAHS,CAAA"}
1
+ {"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;;;cAmCa,0BACM,uBAAuB,gCAE/B,yBACR,OAAO"}
package/dist/index.d.mts CHANGED
@@ -1,10 +1,10 @@
1
- import { Plugin } from "./core/src/types/plugin.mjs";
2
- import "./core/src/types/index.mjs";
3
- import { resolveOptions } from "./helpers/resolve-options.mjs";
4
- import { WebpackPluginContext, WebpackPluginOptions, WebpackPluginResolvedConfig, WebpackPluginUserConfig, __ΩWebpackPluginContext, __ΩWebpackPluginOptions, __ΩWebpackPluginResolvedConfig, __ΩWebpackPluginUserConfig } from "./types/plugin.mjs";
5
- import { createWebpackPlugin } from "./helpers/unplugin.mjs";
6
- import "./helpers/index.mjs";
7
- import "./types/index.mjs";
1
+ import { t as resolveOptions } from "./resolve-options-Bqxsebcu.mjs";
2
+ import "./build-DVeo-6VK.mjs";
3
+ import { a as __ΩWebpackPluginContext, c as __ΩWebpackPluginUserConfig, i as WebpackPluginUserConfig, n as WebpackPluginOptions, o as __ΩWebpackPluginOptions, r as WebpackPluginResolvedConfig, s as __ΩWebpackPluginResolvedConfig, t as WebpackPluginContext } from "./plugin-ULwkWpRB.mjs";
4
+ import { t as createWebpackPlugin } from "./unplugin-D1Xsvb_L.mjs";
5
+ import "./index-mH1MEWOz.mjs";
6
+ import "./index-CW2WHUXP.mjs";
7
+ import { Plugin } from "@powerlines/core/types";
8
8
 
9
9
  //#region src/index.d.ts
10
10
  /**
package/dist/index.mjs CHANGED
@@ -1,6 +1,8 @@
1
- import { resolveOptions } from "./helpers/resolve-options.mjs";
2
- import { createWebpackPlugin } from "./helpers/unplugin.mjs";
3
- import "./helpers/index.mjs";
1
+ import { t as resolveOptions } from "./resolve-options-u4_-_S6N.mjs";
2
+ import { t as createWebpackPlugin } from "./unplugin-BpdMF4ey.mjs";
3
+ import "./helpers-C9XSjwSZ.mjs";
4
+ import "./plugin-BykaHmY4.mjs";
5
+ import "./types-DoAb8Wzc.mjs";
4
6
  import defu from "defu";
5
7
  import build from "webpack";
6
8
 
@@ -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/types\";\nimport defu from \"defu\";\nimport build from \"webpack\";\nimport { resolveOptions } from \"./helpers/resolve-options\";\nimport { createWebpackPlugin } from \"./helpers/unplugin\";\nimport {\n WebpackPluginContext,\n WebpackPluginOptions,\n WebpackPluginResolvedConfig\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 WebpackPluginContext = WebpackPluginContext\n>(\n options: WebpackPluginOptions = {}\n): Plugin<TContext> => {\n return {\n name: \"webpack\",\n config() {\n this.trace(\n \"Providing default configuration for the Powerlines `webpack` build plugin.\"\n );\n\n return {\n webpack: {\n ...options\n }\n } as Partial<WebpackPluginResolvedConfig>;\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: [createWebpackPlugin(this)]\n }\n )\n );\n }\n };\n};\n\nexport default plugin;\n"],"mappings":";;;;;;;;;;AAmCA,MAAa,UAGX,UAAgC,EAAE,KACb;AACrB,QAAO;EACL,MAAM;EACN,SAAS;AACP,QAAK,MACH,6EACD;AAED,UAAO,EACL,SAAS,EACP,GAAG,SACJ,EACF;;EAEH,MAAM,QAAQ;AACZ,SACE,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,oBAAoB,KAAK,CAAC,EACrC,CACF,CACF;;EAEJ;;AAGH,kBAAe"}
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/types\";\nimport defu from \"defu\";\nimport build from \"webpack\";\nimport { resolveOptions } from \"./helpers/resolve-options\";\nimport { createWebpackPlugin } from \"./helpers/unplugin\";\nimport {\n WebpackPluginContext,\n WebpackPluginOptions,\n WebpackPluginResolvedConfig\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 WebpackPluginContext = WebpackPluginContext\n>(\n options: WebpackPluginOptions = {}\n): Plugin<TContext> => {\n return {\n name: \"webpack\",\n config() {\n this.trace(\n \"Providing default configuration for the Powerlines `webpack` build plugin.\"\n );\n\n return {\n webpack: {\n ...options\n }\n } as Partial<WebpackPluginResolvedConfig>;\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: [createWebpackPlugin(this)]\n }\n )\n );\n }\n };\n};\n\nexport default plugin;\n"],"mappings":";;;;;;;;;;;;AAmCA,MAAa,UAGX,UAAgC,EAAE,KACb;AACrB,QAAO;EACL,MAAM;EACN,SAAS;AACP,QAAK,MACH,6EACD;AAED,UAAO,EACL,SAAS,EACP,GAAG,SACJ,EACF;;EAEH,MAAM,QAAQ;AACZ,SACE,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,oBAAoB,KAAK,CAAC,EACrC,CACF,CACF;;EAEJ;;AAGH,kBAAe"}
@@ -0,0 +1 @@
1
+ export { };
@@ -0,0 +1,19 @@
1
+ import { t as WebpackOptions } from "./build-Be4opB6C.cjs";
2
+ import { PluginContext, ResolvedConfig, UserConfig } from "@powerlines/core/types";
3
+
4
+ //#region src/types/plugin.d.ts
5
+ type WebpackPluginOptions = Partial<WebpackOptions>;
6
+ interface WebpackPluginUserConfig extends UserConfig {
7
+ webpack?: WebpackPluginOptions;
8
+ }
9
+ interface WebpackPluginResolvedConfig extends ResolvedConfig {
10
+ webpack: WebpackOptions;
11
+ }
12
+ type WebpackPluginContext<TResolvedConfig extends WebpackPluginResolvedConfig = WebpackPluginResolvedConfig> = PluginContext<TResolvedConfig>;
13
+ declare type __ΩWebpackPluginOptions = any[];
14
+ declare type __ΩWebpackPluginUserConfig = any[];
15
+ declare type __ΩWebpackPluginResolvedConfig = any[];
16
+ declare type __ΩWebpackPluginContext = any[];
17
+ //#endregion
18
+ export { __ΩWebpackPluginContext as a, __ΩWebpackPluginUserConfig as c, WebpackPluginUserConfig as i, WebpackPluginOptions as n, __ΩWebpackPluginOptions as o, WebpackPluginResolvedConfig as r, __ΩWebpackPluginResolvedConfig as s, WebpackPluginContext as t };
19
+ //# sourceMappingURL=plugin-COnpsiZi.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugin-COnpsiZi.d.cts","names":[],"sources":["../src/types/plugin.ts"],"sourcesContent":[],"mappings":";;;;KAyBY,oBAAA,GAAuB,QAAQ;UAE1B,uBAAA,SAAgC;EAFrC,OAAA,CAAA,EAGA,oBAHoB;AAEhC;AAIiB,UAAA,2BAAA,SAAoC,cAAA,CAAA;EAIzC,OAAA,EAHD,cAGqB;;AAE5B,KAFQ,oBAER,CAAA,wBADsB,2BACtB,GAAA,2BAAA,CAAA,GACA,aADA,CACc,eADd,CAAA;AACc,uCAAA,GAAA,EAAA;AAAd,0CAAA,GAAA,EAAA;AAAa,8CAAA,GAAA,EAAA"}
File without changes
@@ -0,0 +1,19 @@
1
+ import { t as WebpackOptions } from "./build-DVeo-6VK.mjs";
2
+ import { PluginContext, ResolvedConfig, UserConfig } from "@powerlines/core/types";
3
+
4
+ //#region src/types/plugin.d.ts
5
+ type WebpackPluginOptions = Partial<WebpackOptions>;
6
+ interface WebpackPluginUserConfig extends UserConfig {
7
+ webpack?: WebpackPluginOptions;
8
+ }
9
+ interface WebpackPluginResolvedConfig extends ResolvedConfig {
10
+ webpack: WebpackOptions;
11
+ }
12
+ type WebpackPluginContext<TResolvedConfig extends WebpackPluginResolvedConfig = WebpackPluginResolvedConfig> = PluginContext<TResolvedConfig>;
13
+ declare type __ΩWebpackPluginOptions = any[];
14
+ declare type __ΩWebpackPluginUserConfig = any[];
15
+ declare type __ΩWebpackPluginResolvedConfig = any[];
16
+ declare type __ΩWebpackPluginContext = any[];
17
+ //#endregion
18
+ export { __ΩWebpackPluginContext as a, __ΩWebpackPluginUserConfig as c, WebpackPluginUserConfig as i, WebpackPluginOptions as n, __ΩWebpackPluginOptions as o, WebpackPluginResolvedConfig as r, __ΩWebpackPluginResolvedConfig as s, WebpackPluginContext as t };
19
+ //# sourceMappingURL=plugin-ULwkWpRB.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugin-ULwkWpRB.d.mts","names":[],"sources":["../src/types/plugin.ts"],"sourcesContent":[],"mappings":";;;;KAyBY,oBAAA,GAAuB,QAAQ;UAE1B,uBAAA,SAAgC;EAFrC,OAAA,CAAA,EAGA,oBAHoB;AAEhC;AAIiB,UAAA,2BAAA,SAAoC,cAAA,CAAA;EAIzC,OAAA,EAHD,cAGqB;;AAE5B,KAFQ,oBAER,CAAA,wBADsB,2BACtB,GAAA,2BAAA,CAAA,GACA,aADA,CACc,eADd,CAAA;AACc,uCAAA,GAAA,EAAA;AAAd,0CAAA,GAAA,EAAA;AAAa,8CAAA,GAAA,EAAA"}
@@ -0,0 +1,15 @@
1
+ import { Configuration } from "webpack";
2
+ import { Context } from "@powerlines/core/types";
3
+
4
+ //#region src/helpers/resolve-options.d.ts
5
+
6
+ /**
7
+ * Resolves the options for [webpack](https://webpack.js.org/).
8
+ *
9
+ * @param context - The build context.
10
+ * @returns The resolved options.
11
+ */
12
+ declare function resolveOptions(context: Context): Configuration;
13
+ //#endregion
14
+ export { resolveOptions as t };
15
+ //# sourceMappingURL=resolve-options-Bqxsebcu.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resolve-options-Bqxsebcu.d.mts","names":[],"sources":["../src/helpers/resolve-options.ts"],"sourcesContent":[],"mappings":";;;;;;;AA8BA;;;;iBAAgB,cAAA,UAAwB,UAAU"}
@@ -0,0 +1,75 @@
1
+ //#region rolldown:runtime
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 [webpack](https://webpack.js.org/).
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.webpack ? context.config.webpack : {}, {
41
+ output: { path: (0, __stryke_path_join_paths.joinPaths)(context.workspaceConfig.workspaceRoot, context.config.output.buildPath) },
42
+ name: context.config.name,
43
+ plugins: context.config.webpack?.plugins ?? [],
44
+ node: context.config.platform === "node" ? {
45
+ __dirname: true,
46
+ __filename: true,
47
+ global: true
48
+ } : false,
49
+ mode: context.config.mode === "development" ? "development" : "production",
50
+ cache: {
51
+ type: "filesystem",
52
+ cacheDirectory: (0, __stryke_path_join_paths.joinPaths)(context.cachePath, "webpack", "cache")
53
+ },
54
+ recordsInputPath: (0, __stryke_path_join_paths.joinPaths)(context.cachePath, "webpack", ".webpack-records.json"),
55
+ recordsOutputPath: (0, __stryke_path_join_paths.joinPaths)(context.cachePath, "webpack", ".webpack-records.json"),
56
+ context: (0, __stryke_path_join_paths.joinPaths)(context.workspaceConfig.workspaceRoot, context.config.root),
57
+ noExternal: context.builtins,
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
+ });
@@ -0,0 +1,15 @@
1
+ import { Context } from "@powerlines/core/types";
2
+ import { Configuration } from "webpack";
3
+
4
+ //#region src/helpers/resolve-options.d.ts
5
+
6
+ /**
7
+ * Resolves the options for [webpack](https://webpack.js.org/).
8
+ *
9
+ * @param context - The build context.
10
+ * @returns The resolved options.
11
+ */
12
+ declare function resolveOptions(context: Context): Configuration;
13
+ //#endregion
14
+ export { resolveOptions as t };
15
+ //# sourceMappingURL=resolve-options-DcJRe7H7.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resolve-options-DcJRe7H7.d.cts","names":[],"sources":["../src/helpers/resolve-options.ts"],"sourcesContent":[],"mappings":";;;;;;;AA8BA;;;;iBAAgB,cAAA,UAAwB,UAAU"}
@@ -0,0 +1,37 @@
1
+ import defu from "defu";
2
+ import { joinPaths } from "@stryke/path/join-paths";
3
+
4
+ //#region src/helpers/resolve-options.ts
5
+ /**
6
+ * Resolves the options for [webpack](https://webpack.js.org/).
7
+ *
8
+ * @param context - The build context.
9
+ * @returns The resolved options.
10
+ */
11
+ function resolveOptions(context) {
12
+ return defu({ resolve: { alias: context.alias } }, context.config.webpack ? context.config.webpack : {}, {
13
+ output: { path: joinPaths(context.workspaceConfig.workspaceRoot, context.config.output.buildPath) },
14
+ name: context.config.name,
15
+ plugins: context.config.webpack?.plugins ?? [],
16
+ node: context.config.platform === "node" ? {
17
+ __dirname: true,
18
+ __filename: true,
19
+ global: true
20
+ } : false,
21
+ mode: context.config.mode === "development" ? "development" : "production",
22
+ cache: {
23
+ type: "filesystem",
24
+ cacheDirectory: joinPaths(context.cachePath, "webpack", "cache")
25
+ },
26
+ recordsInputPath: joinPaths(context.cachePath, "webpack", ".webpack-records.json"),
27
+ recordsOutputPath: joinPaths(context.cachePath, "webpack", ".webpack-records.json"),
28
+ context: joinPaths(context.workspaceConfig.workspaceRoot, context.config.root),
29
+ noExternal: context.builtins,
30
+ devtool: context.config.mode !== "development" ? false : "source-map",
31
+ optimization: { minimize: context.config.mode !== "development" }
32
+ });
33
+ }
34
+
35
+ //#endregion
36
+ export { resolveOptions as t };
37
+ //# sourceMappingURL=resolve-options-u4_-_S6N.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resolve-options-u4_-_S6N.mjs","names":[],"sources":["../src/helpers/resolve-options.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 { Context } from \"@powerlines/core/types\";\nimport { joinPaths } from \"@stryke/path/join-paths\";\nimport defu from \"defu\";\nimport type { Configuration as ExternalWebpackOptions } from \"webpack\";\nimport { WebpackPluginResolvedConfig } from \"../types\";\n\n/**\n * Resolves the options for [webpack](https://webpack.js.org/).\n *\n * @param context - The build context.\n * @returns The resolved options.\n */\nexport function resolveOptions(context: Context): ExternalWebpackOptions {\n return defu(\n {\n resolve: {\n alias: context.alias\n }\n },\n (context.config as WebpackPluginResolvedConfig).webpack\n ? (context.config as WebpackPluginResolvedConfig).webpack\n : {},\n {\n output: {\n path: joinPaths(\n context.workspaceConfig.workspaceRoot,\n context.config.output.buildPath\n )\n },\n name: context.config.name,\n plugins:\n (context.config as WebpackPluginResolvedConfig).webpack?.plugins ?? [],\n node:\n context.config.platform === \"node\"\n ? ({\n __dirname: true,\n __filename: true,\n global: true\n } as ExternalWebpackOptions[\"node\"])\n : false,\n mode:\n context.config.mode === \"development\"\n ? (\"development\" as const)\n : (\"production\" as const),\n cache: {\n type: \"filesystem\" as const,\n cacheDirectory: joinPaths(context.cachePath, \"webpack\", \"cache\")\n },\n recordsInputPath: joinPaths(\n context.cachePath,\n \"webpack\",\n \".webpack-records.json\"\n ),\n recordsOutputPath: joinPaths(\n context.cachePath,\n \"webpack\",\n \".webpack-records.json\"\n ),\n context: joinPaths(\n context.workspaceConfig.workspaceRoot,\n context.config.root\n ),\n noExternal: context.builtins,\n devtool: (context.config.mode !== \"development\"\n ? false\n : \"source-map\") as string | false,\n optimization: {\n minimize: context.config.mode !== \"development\"\n }\n }\n );\n}\n"],"mappings":";;;;;;;;;;AA8BA,SAAgB,eAAe,SAA0C;AACvE,QAAO,KACL,EACE,SAAS,EACP,OAAO,QAAQ,OAChB,EACF,EACA,QAAQ,OAAuC,UAC3C,QAAQ,OAAuC,UAChD,EAAE,EACN;EACE,QAAQ,EACN,MAAM,UACJ,QAAQ,gBAAgB,eACxB,QAAQ,OAAO,OAAO,UACvB,EACF;EACD,MAAM,QAAQ,OAAO;EACrB,SACG,QAAQ,OAAuC,SAAS,WAAW,EAAE;EACxE,MACE,QAAQ,OAAO,aAAa,SACvB;GACC,WAAW;GACX,YAAY;GACZ,QAAQ;GACT,GACD;EACN,MACE,QAAQ,OAAO,SAAS,gBACnB,gBACA;EACP,OAAO;GACL,MAAM;GACN,gBAAgB,UAAU,QAAQ,WAAW,WAAW,QAAQ;GACjE;EACD,kBAAkB,UAChB,QAAQ,WACR,WACA,wBACD;EACD,mBAAmB,UACjB,QAAQ,WACR,WACA,wBACD;EACD,SAAS,UACP,QAAQ,gBAAgB,eACxB,QAAQ,OAAO,KAChB;EACD,YAAY,QAAQ;EACpB,SAAU,QAAQ,OAAO,SAAS,gBAC9B,QACA;EACJ,cAAc,EACZ,UAAU,QAAQ,OAAO,SAAS,eACnC;EACF,CACF"}
@@ -1,8 +1,2 @@
1
- import { Configuration } from "webpack";
2
-
3
- //#region src/types/build.d.ts
4
- type WebpackOptions = Omit<Configuration, "name" | "entry" | "entryPoints" | "tsconfig" | "tsconfigRaw" | "environments" | "output" | "platform" | "define" | "external">;
5
- declare type __ΩWebpackOptions = any[];
6
- //#endregion
7
- export { WebpackOptions, __ΩWebpackOptions };
8
- //# sourceMappingURL=build.d.cts.map
1
+ import { n as __ΩWebpackOptions, t as WebpackOptions } from "../build-Be4opB6C.cjs";
2
+ export { WebpackOptions, __ΩWebpackOptions };
@@ -1,8 +1,2 @@
1
- import { Configuration } from "webpack";
2
-
3
- //#region src/types/build.d.ts
4
- type WebpackOptions = Omit<Configuration, "name" | "entry" | "entryPoints" | "tsconfig" | "tsconfigRaw" | "environments" | "output" | "platform" | "define" | "external">;
5
- declare type __ΩWebpackOptions = any[];
6
- //#endregion
7
- export { WebpackOptions, __ΩWebpackOptions };
8
- //# sourceMappingURL=build.d.mts.map
1
+ import { n as __ΩWebpackOptions, t as WebpackOptions } from "../build-DVeo-6VK.mjs";
2
+ export { WebpackOptions, __ΩWebpackOptions };