@powerlines/plugin-webpack 0.5.665 → 0.5.667
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{build-CC0swxKx.d.cts → build-DevVbYaj.d.cts} +1 -3
- package/dist/build-DevVbYaj.d.cts.map +1 -0
- package/dist/{build-CC0swxKx.d.mts → build-DevVbYaj.d.mts} +1 -3
- package/dist/build-DevVbYaj.d.mts.map +1 -0
- package/dist/index.cjs +2 -4
- package/dist/index.d.cts +0 -2
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +0 -2
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +1 -2
- package/dist/types/build.d.cts +1 -1
- package/dist/types/build.d.mts +1 -1
- package/dist/types/index.cjs +1 -1
- package/dist/types/plugin.d.cts +1 -3
- package/dist/types/plugin.d.cts.map +1 -1
- package/dist/types/plugin.d.mts +1 -3
- package/dist/types/plugin.d.mts.map +1 -1
- package/package.json +8 -8
- package/dist/build-CC0swxKx.d.cts.map +0 -1
- package/dist/build-CC0swxKx.d.mts.map +0 -1
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import { Configuration } from "webpack";
|
|
2
|
-
//#region src/types/build.d.ts
|
|
3
2
|
type WebpackOptions = Omit<Configuration, "name" | "entry" | "entryPoints" | "tsconfig" | "tsconfigRaw" | "environments" | "output" | "platform" | "define" | "external">;
|
|
4
|
-
//#endregion
|
|
5
3
|
export { WebpackOptions as t };
|
|
6
|
-
//# sourceMappingURL=build-
|
|
4
|
+
//# sourceMappingURL=build-DevVbYaj.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"build-DevVbYaj.d.cts","names":["ExternalWebpackOptions"],"sources":["../src/types/build.ts"],"mappings":";KAoBY,iBAAiB,KAC3BA"}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import { Configuration } from "webpack";
|
|
2
|
-
//#region src/types/build.d.ts
|
|
3
2
|
type WebpackOptions = Omit<Configuration, "name" | "entry" | "entryPoints" | "tsconfig" | "tsconfigRaw" | "environments" | "output" | "platform" | "define" | "external">;
|
|
4
|
-
//#endregion
|
|
5
3
|
export { WebpackOptions as t };
|
|
6
|
-
//# sourceMappingURL=build-
|
|
4
|
+
//# sourceMappingURL=build-DevVbYaj.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"build-DevVbYaj.d.mts","names":["ExternalWebpackOptions"],"sources":["../src/types/build.ts"],"mappings":";KAoBY,iBAAiB,KAC3BA"}
|
package/dist/index.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
|
|
2
|
+
// \0rolldown/runtime.js
|
|
3
3
|
var __create = Object.create;
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
5
5
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -25,7 +25,6 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
25
25
|
enumerable: true
|
|
26
26
|
}) : target, mod));
|
|
27
27
|
|
|
28
|
-
//#endregion
|
|
29
28
|
let _powerlines_core = require("@powerlines/core");
|
|
30
29
|
let _powerlines_unplugin_webpack = require("@powerlines/unplugin/webpack");
|
|
31
30
|
let defu = require("defu");
|
|
@@ -35,7 +34,7 @@ let unplugin = require("unplugin");
|
|
|
35
34
|
let webpack = require("webpack");
|
|
36
35
|
webpack = __toESM(webpack, 1);
|
|
37
36
|
|
|
38
|
-
|
|
37
|
+
// src/index.ts
|
|
39
38
|
/**
|
|
40
39
|
* A Powerlines plugin to assist in developing other Powerlines plugins.
|
|
41
40
|
*/
|
|
@@ -70,5 +69,4 @@ const plugin = (options = {}) => {
|
|
|
70
69
|
};
|
|
71
70
|
};
|
|
72
71
|
|
|
73
|
-
//#endregion
|
|
74
72
|
exports.plugin = plugin;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { WebpackPluginContext, WebpackPluginOptions, WebpackPluginResolvedConfig, WebpackPluginUserConfig } from "./types/plugin.cjs";
|
|
2
2
|
import "./types/index.cjs";
|
|
3
3
|
import { Plugin } from "powerlines";
|
|
4
|
-
//#region src/index.d.ts
|
|
5
4
|
declare module "powerlines" {
|
|
6
5
|
interface Config {
|
|
7
6
|
webpack?: WebpackPluginOptions;
|
|
@@ -11,6 +10,5 @@ declare module "powerlines" {
|
|
|
11
10
|
* A Powerlines plugin to assist in developing other Powerlines plugins.
|
|
12
11
|
*/
|
|
13
12
|
declare const plugin: <TContext extends WebpackPluginContext = WebpackPluginContext>(options?: WebpackPluginOptions) => Plugin<TContext>;
|
|
14
|
-
//#endregion
|
|
15
13
|
export { type WebpackPluginContext, type WebpackPluginOptions, type WebpackPluginResolvedConfig, type WebpackPluginUserConfig, plugin };
|
|
16
14
|
//# sourceMappingURL=index.d.cts.map
|
package/dist/index.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.ts"],"mappings":";;;;YAmCY;IACR,UAAU;;;;;;cAOD,SACX,iBAAiB,uBAAuB,sBAExC,UAAS,yBACR,OAAO"}
|
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { WebpackPluginContext, WebpackPluginOptions, WebpackPluginResolvedConfig, WebpackPluginUserConfig } from "./types/plugin.mjs";
|
|
2
2
|
import "./types/index.mjs";
|
|
3
3
|
import { Plugin } from "powerlines";
|
|
4
|
-
//#region src/index.d.ts
|
|
5
4
|
declare module "powerlines" {
|
|
6
5
|
interface Config {
|
|
7
6
|
webpack?: WebpackPluginOptions;
|
|
@@ -11,6 +10,5 @@ declare module "powerlines" {
|
|
|
11
10
|
* A Powerlines plugin to assist in developing other Powerlines plugins.
|
|
12
11
|
*/
|
|
13
12
|
declare const plugin: <TContext extends WebpackPluginContext = WebpackPluginContext>(options?: WebpackPluginOptions) => Plugin<TContext>;
|
|
14
|
-
//#endregion
|
|
15
13
|
export { type WebpackPluginContext, type WebpackPluginOptions, type WebpackPluginResolvedConfig, type WebpackPluginUserConfig, plugin };
|
|
16
14
|
//# sourceMappingURL=index.d.mts.map
|
package/dist/index.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/index.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/index.ts"],"mappings":";;;;YAmCY;IACR,UAAU;;;;;;cAOD,SACX,iBAAiB,uBAAuB,sBAExC,UAAS,yBACR,OAAO"}
|
package/dist/index.mjs
CHANGED
|
@@ -5,7 +5,7 @@ import { formatConfig } from "powerlines/plugin-utils";
|
|
|
5
5
|
import { createWebpackPlugin } from "unplugin";
|
|
6
6
|
import webpack from "webpack";
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
// src/index.ts
|
|
9
9
|
/**
|
|
10
10
|
* A Powerlines plugin to assist in developing other Powerlines plugins.
|
|
11
11
|
*/
|
|
@@ -40,6 +40,5 @@ const plugin = (options = {}) => {
|
|
|
40
40
|
};
|
|
41
41
|
};
|
|
42
42
|
|
|
43
|
-
//#endregion
|
|
44
43
|
export { plugin };
|
|
45
44
|
//# sourceMappingURL=index.mjs.map
|
package/dist/types/build.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as WebpackOptions } from "../build-
|
|
1
|
+
import { t as WebpackOptions } from "../build-DevVbYaj.cjs";
|
|
2
2
|
export { WebpackOptions };
|
package/dist/types/build.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as WebpackOptions } from "../build-
|
|
1
|
+
import { t as WebpackOptions } from "../build-DevVbYaj.mjs";
|
|
2
2
|
export { WebpackOptions };
|
package/dist/types/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
require(
|
|
1
|
+
require("./plugin.cjs");
|
package/dist/types/plugin.d.cts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { t as WebpackOptions } from "../build-
|
|
1
|
+
import { t as WebpackOptions } from "../build-DevVbYaj.cjs";
|
|
2
2
|
import { PluginContext, ResolvedConfig, UserConfig } from "powerlines";
|
|
3
|
-
//#region src/types/plugin.d.ts
|
|
4
3
|
type WebpackPluginOptions = Partial<WebpackOptions>;
|
|
5
4
|
interface WebpackPluginUserConfig extends UserConfig {
|
|
6
5
|
webpack?: WebpackPluginOptions;
|
|
@@ -9,6 +8,5 @@ interface WebpackPluginResolvedConfig extends ResolvedConfig {
|
|
|
9
8
|
webpack: WebpackOptions;
|
|
10
9
|
}
|
|
11
10
|
type WebpackPluginContext<TResolvedConfig extends WebpackPluginResolvedConfig = WebpackPluginResolvedConfig> = PluginContext<TResolvedConfig>;
|
|
12
|
-
//#endregion
|
|
13
11
|
export { WebpackPluginContext, WebpackPluginOptions, WebpackPluginResolvedConfig, WebpackPluginUserConfig };
|
|
14
12
|
//# sourceMappingURL=plugin.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.d.cts","names":[],"sources":["../../src/types/plugin.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"plugin.d.cts","names":[],"sources":["../../src/types/plugin.ts"],"mappings":";;KAqBY,uBAAuB,QAAQ;UAE1B,gCAAgC;EAC/C,UAAU;;UAGK,oCAAoC;EACnD,SAAS;;KAGC,qBACV,wBAAwB,8BACtB,+BACA,cAAc"}
|
package/dist/types/plugin.d.mts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { t as WebpackOptions } from "../build-
|
|
1
|
+
import { t as WebpackOptions } from "../build-DevVbYaj.mjs";
|
|
2
2
|
import { PluginContext, ResolvedConfig, UserConfig } from "powerlines";
|
|
3
|
-
//#region src/types/plugin.d.ts
|
|
4
3
|
type WebpackPluginOptions = Partial<WebpackOptions>;
|
|
5
4
|
interface WebpackPluginUserConfig extends UserConfig {
|
|
6
5
|
webpack?: WebpackPluginOptions;
|
|
@@ -9,6 +8,5 @@ interface WebpackPluginResolvedConfig extends ResolvedConfig {
|
|
|
9
8
|
webpack: WebpackOptions;
|
|
10
9
|
}
|
|
11
10
|
type WebpackPluginContext<TResolvedConfig extends WebpackPluginResolvedConfig = WebpackPluginResolvedConfig> = PluginContext<TResolvedConfig>;
|
|
12
|
-
//#endregion
|
|
13
11
|
export { WebpackPluginContext, WebpackPluginOptions, WebpackPluginResolvedConfig, WebpackPluginUserConfig };
|
|
14
12
|
//# sourceMappingURL=plugin.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.d.mts","names":[],"sources":["../../src/types/plugin.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"plugin.d.mts","names":[],"sources":["../../src/types/plugin.ts"],"mappings":";;KAqBY,uBAAuB,QAAQ;UAE1B,gCAAgC;EAC/C,UAAU;;UAGK,oCAAoC;EACnD,SAAS;;KAGC,qBACV,wBAAwB,8BACtB,+BACA,cAAc"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-webpack",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.667",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "A package containing a Powerlines plugin to build projects using Webpack.",
|
|
6
6
|
"keywords": ["webpack", "powerlines", "storm-software", "powerlines-plugin"],
|
|
@@ -83,17 +83,17 @@
|
|
|
83
83
|
"typings": "dist/index.d.mts",
|
|
84
84
|
"files": ["dist"],
|
|
85
85
|
"dependencies": {
|
|
86
|
-
"@powerlines/core": "^0.48.
|
|
87
|
-
"@powerlines/unplugin": "^0.0.
|
|
88
|
-
"@stryke/helpers": "^0.10.
|
|
89
|
-
"@stryke/path": "^0.29.
|
|
86
|
+
"@powerlines/core": "^0.48.134",
|
|
87
|
+
"@powerlines/unplugin": "^0.0.182",
|
|
88
|
+
"@stryke/helpers": "^0.10.56",
|
|
89
|
+
"@stryke/path": "^0.29.43",
|
|
90
90
|
"defu": "^6.1.7",
|
|
91
|
-
"powerlines": "^0.47.
|
|
91
|
+
"powerlines": "^0.47.215",
|
|
92
92
|
"unplugin": "^3.4.0"
|
|
93
93
|
},
|
|
94
|
-
"devDependencies": { "@types/node": "^25.9.
|
|
94
|
+
"devDependencies": { "@types/node": "^25.9.9", "webpack": "^5.112.0" },
|
|
95
95
|
"peerDependencies": { "webpack": ">=5.101.0" },
|
|
96
96
|
"peerDependenciesMeta": { "webpack": { "optional": false } },
|
|
97
97
|
"publishConfig": { "access": "public" },
|
|
98
|
-
"gitHead": "
|
|
98
|
+
"gitHead": "810bc635d1503594d09d9f0c8c93ea413745a9df"
|
|
99
99
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"build-CC0swxKx.d.cts","names":[],"sources":["../src/types/build.ts"],"mappings":";;KAoBY,iBAAiB,KAC3B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"build-CC0swxKx.d.mts","names":[],"sources":["../src/types/build.ts"],"mappings":";;KAoBY,iBAAiB,KAC3B"}
|