@powerlines/plugin-webpack 0.5.47 → 0.5.48

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.
@@ -1,6 +1,6 @@
1
1
  export { createWebpackPlugin } from './unplugin.cjs';
2
2
  import 'webpack';
3
- import '../index-BHm7ke2O.cjs';
3
+ import '../index-CwWf89Sd.cjs';
4
4
  import '@stryke/env/get-env-paths';
5
5
  import '@stryke/types/base';
6
6
  import '@stryke/types/package-json';
@@ -1,6 +1,6 @@
1
1
  export { createWebpackPlugin } from './unplugin.js';
2
2
  import 'webpack';
3
- import '../index-BHm7ke2O.js';
3
+ import '../index-CwWf89Sd.js';
4
4
  import '@stryke/env/get-env-paths';
5
5
  import '@stryke/types/base';
6
6
  import '@stryke/types/package-json';
@@ -1,5 +1,5 @@
1
1
  import * as webpack from 'webpack';
2
- import { W as WebpackPluginContext } from '../index-BHm7ke2O.cjs';
2
+ import { W as WebpackPluginContext } from '../index-CwWf89Sd.cjs';
3
3
  import '@stryke/env/get-env-paths';
4
4
  import '@stryke/types/base';
5
5
  import '@stryke/types/package-json';
@@ -1,5 +1,5 @@
1
1
  import * as webpack from 'webpack';
2
- import { W as WebpackPluginContext } from '../index-BHm7ke2O.js';
2
+ import { W as WebpackPluginContext } from '../index-CwWf89Sd.js';
3
3
  import '@stryke/env/get-env-paths';
4
4
  import '@stryke/types/base';
5
5
  import '@stryke/types/package-json';
@@ -1470,7 +1470,7 @@ interface Plugin<in out TContext extends PluginContext<ResolvedConfig> = PluginC
1470
1470
  * @param other - The other plugin to compare against.
1471
1471
  * @returns `true` if the two plugins are the same, `false` otherwise.
1472
1472
  */
1473
- dedupe?: false | ((other: Plugin<any>) => boolean);
1473
+ dedupe?: false | ((other: Plugin<TContext>) => boolean);
1474
1474
  /**
1475
1475
  * A list of pre-requisite plugins that must be loaded before this plugin can be used.
1476
1476
  */
@@ -1481,7 +1481,7 @@ interface Plugin<in out TContext extends PluginContext<ResolvedConfig> = PluginC
1481
1481
  * @param environment - The environment to check.
1482
1482
  * @returns `true` if the plugin should be active in the specified environment, `false` otherwise.
1483
1483
  */
1484
- applyToEnvironment?: (environment: EnvironmentResolvedConfig) => MaybePromise<boolean | Plugin<any>>;
1484
+ applyToEnvironment?: (environment: EnvironmentResolvedConfig) => MaybePromise<boolean | Plugin<TContext>>;
1485
1485
  }
1486
1486
 
1487
1487
  type WebpackPluginOptions = Partial<WebpackBuildConfig>;
@@ -1470,7 +1470,7 @@ interface Plugin<in out TContext extends PluginContext<ResolvedConfig> = PluginC
1470
1470
  * @param other - The other plugin to compare against.
1471
1471
  * @returns `true` if the two plugins are the same, `false` otherwise.
1472
1472
  */
1473
- dedupe?: false | ((other: Plugin<any>) => boolean);
1473
+ dedupe?: false | ((other: Plugin<TContext>) => boolean);
1474
1474
  /**
1475
1475
  * A list of pre-requisite plugins that must be loaded before this plugin can be used.
1476
1476
  */
@@ -1481,7 +1481,7 @@ interface Plugin<in out TContext extends PluginContext<ResolvedConfig> = PluginC
1481
1481
  * @param environment - The environment to check.
1482
1482
  * @returns `true` if the plugin should be active in the specified environment, `false` otherwise.
1483
1483
  */
1484
- applyToEnvironment?: (environment: EnvironmentResolvedConfig) => MaybePromise<boolean | Plugin<any>>;
1484
+ applyToEnvironment?: (environment: EnvironmentResolvedConfig) => MaybePromise<boolean | Plugin<TContext>>;
1485
1485
  }
1486
1486
 
1487
1487
  type WebpackPluginOptions = Partial<WebpackBuildConfig>;
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { W as WebpackPluginContext, a as WebpackPluginOptions, P as Plugin } from './index-BHm7ke2O.cjs';
2
- export { b as WebpackPluginResolvedConfig, d as __ΩWebpackPluginContext, _ as __ΩWebpackPluginOptions, c as __ΩWebpackPluginResolvedConfig } from './index-BHm7ke2O.cjs';
1
+ import { W as WebpackPluginContext, a as WebpackPluginOptions, P as Plugin } from './index-CwWf89Sd.cjs';
2
+ export { b as WebpackPluginResolvedConfig, d as __ΩWebpackPluginContext, _ as __ΩWebpackPluginOptions, c as __ΩWebpackPluginResolvedConfig } from './index-CwWf89Sd.cjs';
3
3
  export { createWebpackPlugin } from './helpers/unplugin.cjs';
4
4
  import 'webpack';
5
5
  import '@stryke/env/get-env-paths';
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { W as WebpackPluginContext, a as WebpackPluginOptions, P as Plugin } from './index-BHm7ke2O.js';
2
- export { b as WebpackPluginResolvedConfig, d as __ΩWebpackPluginContext, _ as __ΩWebpackPluginOptions, c as __ΩWebpackPluginResolvedConfig } from './index-BHm7ke2O.js';
1
+ import { W as WebpackPluginContext, a as WebpackPluginOptions, P as Plugin } from './index-CwWf89Sd.js';
2
+ export { b as WebpackPluginResolvedConfig, d as __ΩWebpackPluginContext, _ as __ΩWebpackPluginOptions, c as __ΩWebpackPluginResolvedConfig } from './index-CwWf89Sd.js';
3
3
  export { createWebpackPlugin } from './helpers/unplugin.js';
4
4
  import 'webpack';
5
5
  import '@stryke/env/get-env-paths';
@@ -1,4 +1,4 @@
1
- export { W as WebpackPluginContext, a as WebpackPluginOptions, b as WebpackPluginResolvedConfig, d as __ΩWebpackPluginContext, _ as __ΩWebpackPluginOptions, c as __ΩWebpackPluginResolvedConfig } from '../index-BHm7ke2O.cjs';
1
+ export { W as WebpackPluginContext, a as WebpackPluginOptions, b as WebpackPluginResolvedConfig, d as __ΩWebpackPluginContext, _ as __ΩWebpackPluginOptions, c as __ΩWebpackPluginResolvedConfig } from '../index-CwWf89Sd.cjs';
2
2
  import 'webpack';
3
3
  import '@stryke/env/get-env-paths';
4
4
  import '@stryke/types/base';
@@ -1,4 +1,4 @@
1
- export { W as WebpackPluginContext, a as WebpackPluginOptions, b as WebpackPluginResolvedConfig, d as __ΩWebpackPluginContext, _ as __ΩWebpackPluginOptions, c as __ΩWebpackPluginResolvedConfig } from '../index-BHm7ke2O.js';
1
+ export { W as WebpackPluginContext, a as WebpackPluginOptions, b as WebpackPluginResolvedConfig, d as __ΩWebpackPluginContext, _ as __ΩWebpackPluginOptions, c as __ΩWebpackPluginResolvedConfig } from '../index-CwWf89Sd.js';
2
2
  import 'webpack';
3
3
  import '@stryke/env/get-env-paths';
4
4
  import '@stryke/types/base';
@@ -1,4 +1,4 @@
1
- export { W as WebpackPluginContext, a as WebpackPluginOptions, b as WebpackPluginResolvedConfig, d as __ΩWebpackPluginContext, _ as __ΩWebpackPluginOptions, c as __ΩWebpackPluginResolvedConfig } from '../index-BHm7ke2O.cjs';
1
+ export { W as WebpackPluginContext, a as WebpackPluginOptions, b as WebpackPluginResolvedConfig, d as __ΩWebpackPluginContext, _ as __ΩWebpackPluginOptions, c as __ΩWebpackPluginResolvedConfig } from '../index-CwWf89Sd.cjs';
2
2
  import 'webpack';
3
3
  import '@stryke/env/get-env-paths';
4
4
  import '@stryke/types/base';
@@ -1,4 +1,4 @@
1
- export { W as WebpackPluginContext, a as WebpackPluginOptions, b as WebpackPluginResolvedConfig, d as __ΩWebpackPluginContext, _ as __ΩWebpackPluginOptions, c as __ΩWebpackPluginResolvedConfig } from '../index-BHm7ke2O.js';
1
+ export { W as WebpackPluginContext, a as WebpackPluginOptions, b as WebpackPluginResolvedConfig, d as __ΩWebpackPluginContext, _ as __ΩWebpackPluginOptions, c as __ΩWebpackPluginResolvedConfig } from '../index-CwWf89Sd.js';
2
2
  import 'webpack';
3
3
  import '@stryke/env/get-env-paths';
4
4
  import '@stryke/types/base';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-webpack",
3
- "version": "0.5.47",
3
+ "version": "0.5.48",
4
4
  "type": "module",
5
5
  "description": "A package containing a Powerlines plugin to build projects using Webpack.",
6
6
  "repository": {
@@ -133,14 +133,14 @@
133
133
  "@stryke/types": "^0.10.8",
134
134
  "defu": "^6.1.4",
135
135
  "jiti": "^2.6.1",
136
- "powerlines": "^0.25.0",
136
+ "powerlines": "^0.25.1",
137
137
  "webpack": "^5.103.0"
138
138
  },
139
139
  "devDependencies": {
140
- "@powerlines/nx": "^0.10.38",
141
- "@powerlines/plugin-plugin": "^0.11.46",
140
+ "@powerlines/nx": "^0.10.39",
141
+ "@powerlines/plugin-plugin": "^0.11.47",
142
142
  "@types/node": "^24.10.1"
143
143
  },
144
144
  "publishConfig": { "access": "public" },
145
- "gitHead": "acb1d0727c31f10519b7a59d73d245e6949414d3"
145
+ "gitHead": "de1daa466d1524b287e2748490c1e56ab9002b07"
146
146
  }