@powerlines/plugin-webpack 0.5.178 → 0.5.179
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/helpers/index.cjs +3 -1
- package/dist/helpers/index.d.cts +2 -0
- package/dist/helpers/index.d.mts +2 -1
- package/dist/helpers/index.mjs +1 -1
- package/dist/helpers/unplugin.mjs +4 -4
- package/dist/index.cjs +3 -3
- package/dist/powerlines/src/internal/helpers/hooks.d.mts +1 -1
- package/dist/powerlines/src/types/api.d.cts +3 -3
- package/dist/powerlines/src/types/api.d.mts +3 -3
- package/dist/powerlines/src/types/build.d.cts +7 -7
- package/dist/powerlines/src/types/build.d.mts +1 -1
- package/dist/powerlines/src/types/commands.d.cts +1 -1
- package/dist/powerlines/src/types/commands.d.mts +1 -1
- package/dist/powerlines/src/types/config.d.cts +2 -2
- package/dist/powerlines/src/types/config.d.mts +2 -2
- package/dist/powerlines/src/types/context.d.cts +5 -5
- package/dist/powerlines/src/types/context.d.mts +4 -4
- package/dist/powerlines/src/types/hooks.d.cts +1 -1
- package/dist/powerlines/src/types/hooks.d.mts +1 -1
- package/dist/powerlines/src/types/plugin.d.cts +5 -5
- package/dist/powerlines/src/types/plugin.d.mts +5 -5
- package/dist/powerlines/src/types/resolved.d.cts +1 -1
- package/dist/powerlines/src/types/resolved.d.mts +1 -1
- package/dist/powerlines/src/types/unplugin.d.cts +1 -1
- package/dist/powerlines/src/types/unplugin.d.mts +2 -2
- package/dist/types/index.cjs +0 -0
- package/dist/types/index.d.cts +2 -0
- package/dist/types/index.d.mts +2 -1
- package/dist/types/index.mjs +1 -0
- package/dist/types/plugin.cjs +0 -0
- package/dist/types/plugin.mjs +1 -0
- package/package.json +4 -4
package/dist/helpers/index.cjs
CHANGED
package/dist/helpers/index.d.mts
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
import { createWebpackPlugin } from "./unplugin.mjs";
|
|
1
|
+
import { createWebpackPlugin } from "./unplugin.mjs";
|
|
2
|
+
export { createWebpackPlugin };
|
package/dist/helpers/index.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { createUnplugin } from "powerlines/lib/unplugin";
|
|
2
|
-
import { createWebpackPlugin } from "unplugin";
|
|
2
|
+
import { createWebpackPlugin as createWebpackPlugin$1 } from "unplugin";
|
|
3
3
|
|
|
4
4
|
//#region src/helpers/unplugin.ts
|
|
5
|
-
function createWebpackPlugin
|
|
6
|
-
return createWebpackPlugin(createUnplugin(context))({});
|
|
5
|
+
function createWebpackPlugin(context) {
|
|
6
|
+
return createWebpackPlugin$1(createUnplugin(context))({});
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
//#endregion
|
|
10
|
-
export { createWebpackPlugin
|
|
10
|
+
export { createWebpackPlugin };
|
package/dist/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
2
|
const require_rolldown_runtime = require('./_virtual/rolldown_runtime.cjs');
|
|
3
|
-
const
|
|
3
|
+
const require_helpers_unplugin = require('./helpers/unplugin.cjs');
|
|
4
4
|
require('./helpers/index.cjs');
|
|
5
5
|
let defu = require("defu");
|
|
6
6
|
defu = require_rolldown_runtime.__toESM(defu);
|
|
@@ -26,13 +26,13 @@ const plugin = (options = {}) => {
|
|
|
26
26
|
(0, webpack.default)((0, defu.default)({ entry: this.entry.reduce((ret, entry) => {
|
|
27
27
|
ret[entry.output || entry.name || entry.file] = entry.file;
|
|
28
28
|
return ret;
|
|
29
|
-
}, {}) }, (0, powerlines_lib_build_webpack.extractWebpackConfig)(this), { plugins: [
|
|
29
|
+
}, {}) }, (0, powerlines_lib_build_webpack.extractWebpackConfig)(this), { plugins: [require_helpers_unplugin.createWebpackPlugin(this)] }));
|
|
30
30
|
}
|
|
31
31
|
};
|
|
32
32
|
};
|
|
33
33
|
var src_default = plugin;
|
|
34
34
|
|
|
35
35
|
//#endregion
|
|
36
|
-
exports.createWebpackPlugin =
|
|
36
|
+
exports.createWebpackPlugin = require_helpers_unplugin.createWebpackPlugin;
|
|
37
37
|
exports.default = src_default;
|
|
38
38
|
exports.plugin = plugin;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { BuildInlineConfig, CleanInlineConfig, DeployInlineConfig, DocsInlineConfig, LintInlineConfig, NewInlineConfig, PrepareInlineConfig } from "./config.cjs";
|
|
2
|
-
import { InferHookParameters, InferHookReturnType } from "./hooks.cjs";
|
|
3
1
|
import { ResolvedConfig } from "./resolved.cjs";
|
|
4
|
-
import {
|
|
2
|
+
import { InferHookParameters, InferHookReturnType } from "./hooks.cjs";
|
|
5
3
|
import { CallHookOptions } from "../internal/helpers/hooks.cjs";
|
|
4
|
+
import { BuildInlineConfig, CleanInlineConfig, DeployInlineConfig, DocsInlineConfig, LintInlineConfig, NewInlineConfig, PrepareInlineConfig } from "./config.cjs";
|
|
5
|
+
import { APIContext, EnvironmentContext, PluginContext } from "./context.cjs";
|
|
6
6
|
|
|
7
7
|
//#region ../powerlines/src/types/api.d.ts
|
|
8
8
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { BuildInlineConfig, CleanInlineConfig, DeployInlineConfig, DocsInlineConfig, LintInlineConfig, NewInlineConfig, PrepareInlineConfig } from "./config.mjs";
|
|
2
|
-
import { InferHookParameters, InferHookReturnType } from "./hooks.mjs";
|
|
3
1
|
import { ResolvedConfig } from "./resolved.mjs";
|
|
4
|
-
import {
|
|
2
|
+
import { InferHookParameters, InferHookReturnType } from "./hooks.mjs";
|
|
5
3
|
import { CallHookOptions } from "../internal/helpers/hooks.mjs";
|
|
4
|
+
import { BuildInlineConfig, CleanInlineConfig, DeployInlineConfig, DocsInlineConfig, LintInlineConfig, NewInlineConfig, PrepareInlineConfig } from "./config.mjs";
|
|
5
|
+
import { APIContext, EnvironmentContext, PluginContext } from "./context.mjs";
|
|
6
6
|
|
|
7
7
|
//#region ../powerlines/src/types/api.d.ts
|
|
8
8
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Configuration } from "webpack";
|
|
2
2
|
import { UserConfig } from "@farmfe/core";
|
|
3
|
-
import { Configuration } from "@rspack/core";
|
|
3
|
+
import { Configuration as Configuration$1 } from "@rspack/core";
|
|
4
4
|
import { BuildOptions } from "@storm-software/tsup/types";
|
|
5
5
|
import { UnbuildOptions } from "@storm-software/unbuild/types";
|
|
6
6
|
import { BuildOptions as BuildOptions$1 } from "esbuild";
|
|
7
7
|
import { RolldownOptions } from "rolldown";
|
|
8
|
+
import { OutputOptions, RollupOptions } from "rollup";
|
|
8
9
|
import { UserConfig as UserConfig$1 } from "tsdown";
|
|
9
10
|
import { DepOptimizationOptions, UserConfig as UserConfig$2 } from "vite";
|
|
10
|
-
import { Configuration as Configuration$1 } from "webpack";
|
|
11
11
|
|
|
12
12
|
//#region ../powerlines/src/types/build.d.ts
|
|
13
13
|
type UnpluginBuilderVariant = "rollup" | "webpack" | "rspack" | "vite" | "esbuild" | "farm" | "unloader" | "rolldown" | "bun";
|
|
@@ -162,10 +162,10 @@ type ViteBuildConfig = Omit<UserConfig$2, "entry" | "entryPoints" | "tsconfig" |
|
|
|
162
162
|
optimizeDeps?: Omit<DepOptimizationOptions, "extensions">;
|
|
163
163
|
};
|
|
164
164
|
type ViteResolvedBuildConfig = UserConfig$2 & BuildResolvedConfig;
|
|
165
|
-
type WebpackBuildConfig = Omit<Configuration
|
|
166
|
-
type WebpackResolvedBuildConfig = Configuration
|
|
167
|
-
type RspackBuildConfig = Omit<Configuration, "name" | "entry" | "entryPoints" | "tsconfig" | "tsconfigRaw"> & BuildConfig;
|
|
168
|
-
type RspackResolvedBuildConfig = Configuration & BuildResolvedConfig;
|
|
165
|
+
type WebpackBuildConfig = Omit<Configuration, "name" | "entry" | "entryPoints" | "tsconfig" | "tsconfigRaw"> & BuildConfig;
|
|
166
|
+
type WebpackResolvedBuildConfig = Configuration & BuildResolvedConfig;
|
|
167
|
+
type RspackBuildConfig = Omit<Configuration$1, "name" | "entry" | "entryPoints" | "tsconfig" | "tsconfigRaw"> & BuildConfig;
|
|
168
|
+
type RspackResolvedBuildConfig = Configuration$1 & BuildResolvedConfig;
|
|
169
169
|
type RollupBuildOutputConfig = Omit<OutputOptions, "dir" | "format">;
|
|
170
170
|
type RollupBuildConfig = Omit<RollupOptions, "entry" | "external" | "input" | "output" | "logLevel"> & {
|
|
171
171
|
output: RollupBuildOutputConfig | RollupBuildOutputConfig[];
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Configuration } from "webpack";
|
|
2
|
-
import { OutputOptions, RollupOptions } from "rollup";
|
|
3
2
|
import { UserConfig } from "@farmfe/core";
|
|
4
3
|
import { Configuration as Configuration$1 } from "@rspack/core";
|
|
5
4
|
import { BuildOptions } from "@storm-software/tsup/types";
|
|
6
5
|
import { UnbuildOptions } from "@storm-software/unbuild/types";
|
|
7
6
|
import { BuildOptions as BuildOptions$1 } from "esbuild";
|
|
8
7
|
import { RolldownOptions } from "rolldown";
|
|
8
|
+
import { OutputOptions, RollupOptions } from "rollup";
|
|
9
9
|
import { UserConfig as UserConfig$1 } from "tsdown";
|
|
10
10
|
import { DepOptimizationOptions, UserConfig as UserConfig$2 } from "vite";
|
|
11
11
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ArrayValues } from "@stryke/types/array";
|
|
2
1
|
import { MaybePromise } from "@stryke/types/base";
|
|
2
|
+
import { ArrayValues } from "@stryke/types/array";
|
|
3
3
|
|
|
4
4
|
//#region ../powerlines/src/types/commands.d.ts
|
|
5
5
|
declare const SUPPORTED_COMMANDS: readonly ["new", "clean", "prepare", "lint", "test", "build", "docs", "deploy", "finalize"];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./context.mjs";
|
|
2
|
-
import { ArrayValues } from "@stryke/types/array";
|
|
3
2
|
import { MaybePromise } from "@stryke/types/base";
|
|
3
|
+
import { ArrayValues } from "@stryke/types/array";
|
|
4
4
|
|
|
5
5
|
//#region ../powerlines/src/types/commands.d.ts
|
|
6
6
|
declare const SUPPORTED_COMMANDS: readonly ["new", "clean", "prepare", "lint", "test", "build", "docs", "deploy", "finalize"];
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { BuildConfig, BuildResolvedConfig, ESBuildBuildConfig, ESBuildResolvedBuildConfig, FarmBuildConfig, FarmResolvedBuildConfig, RolldownBuildConfig, RolldownResolvedBuildConfig, RollupBuildConfig, RollupResolvedBuildConfig, RspackBuildConfig, RspackResolvedBuildConfig, TsdownBuildConfig, TsdownResolvedBuildConfig, TsupBuildConfig, TsupResolvedBuildConfig, UnbuildBuildConfig, UnbuildResolvedBuildConfig, ViteBuildConfig, ViteResolvedBuildConfig, WebpackBuildConfig, WebpackResolvedBuildConfig } from "./build.cjs";
|
|
2
2
|
import { StoragePort, StoragePreset } from "./fs.cjs";
|
|
3
|
+
import { Plugin } from "./plugin.cjs";
|
|
3
4
|
import { TSConfig } from "./tsconfig.cjs";
|
|
4
5
|
import { PluginContext } from "./context.cjs";
|
|
5
|
-
import { Plugin } from "./plugin.cjs";
|
|
6
|
-
import { MaybePromise } from "@stryke/types/base";
|
|
7
6
|
import { PreviewOptions } from "vite";
|
|
7
|
+
import { MaybePromise } from "@stryke/types/base";
|
|
8
8
|
import { Format } from "@storm-software/build-tools/types";
|
|
9
9
|
import { LogLevelLabel } from "@storm-software/config-tools/types";
|
|
10
10
|
import { StormWorkspaceConfig } from "@storm-software/config/types";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { BuildConfig, BuildResolvedConfig, ESBuildBuildConfig, ESBuildResolvedBuildConfig, FarmBuildConfig, FarmResolvedBuildConfig, RolldownBuildConfig, RolldownResolvedBuildConfig, RollupBuildConfig, RollupResolvedBuildConfig, RspackBuildConfig, RspackResolvedBuildConfig, TsdownBuildConfig, TsdownResolvedBuildConfig, TsupBuildConfig, TsupResolvedBuildConfig, UnbuildBuildConfig, UnbuildResolvedBuildConfig, ViteBuildConfig, ViteResolvedBuildConfig, WebpackBuildConfig, WebpackResolvedBuildConfig } from "./build.mjs";
|
|
2
2
|
import "./babel.mjs";
|
|
3
3
|
import { StoragePort, StoragePreset } from "./fs.mjs";
|
|
4
|
+
import { Plugin } from "./plugin.mjs";
|
|
4
5
|
import { TSConfig } from "./tsconfig.mjs";
|
|
5
6
|
import { PluginContext } from "./context.mjs";
|
|
6
|
-
import { Plugin } from "./plugin.mjs";
|
|
7
|
-
import { MaybePromise } from "@stryke/types/base";
|
|
8
7
|
import { PreviewOptions } from "vite";
|
|
8
|
+
import { MaybePromise } from "@stryke/types/base";
|
|
9
9
|
import { Format } from "@storm-software/build-tools/types";
|
|
10
10
|
import { LogLevelLabel } from "@storm-software/config-tools/types";
|
|
11
11
|
import { StormWorkspaceConfig } from "@storm-software/config/types";
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { ResolveOptions, VirtualFile, VirtualFileSystemInterface, WriteOptions } from "./fs.cjs";
|
|
2
|
-
import { ParsedTypeScriptConfig } from "./tsconfig.cjs";
|
|
3
|
-
import { InlineConfig, LogFn, UserConfig, WorkspaceConfig } from "./config.cjs";
|
|
4
|
-
import { HooksList, InferHooksListItem } from "./hooks.cjs";
|
|
5
2
|
import { EnvironmentResolvedConfig, ResolvedConfig, ResolvedEntryTypeDefinition } from "./resolved.cjs";
|
|
3
|
+
import { HooksList, InferHooksListItem } from "./hooks.cjs";
|
|
6
4
|
import { Plugin } from "./plugin.cjs";
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
5
|
+
import { ParsedTypeScriptConfig } from "./tsconfig.cjs";
|
|
6
|
+
import { InlineConfig, LogFn, UserConfig, WorkspaceConfig } from "./config.cjs";
|
|
9
7
|
import { EnvPaths } from "@stryke/env/get-env-paths";
|
|
10
8
|
import { FetchRequestOptions } from "@stryke/http/fetch";
|
|
9
|
+
import { NonUndefined } from "@stryke/types/base";
|
|
11
10
|
import { PackageJson } from "@stryke/types/package-json";
|
|
12
11
|
import { Jiti } from "jiti";
|
|
13
12
|
import { SourceMap } from "magic-string";
|
|
@@ -15,6 +14,7 @@ import { ParseResult, ParserOptions } from "oxc-parser";
|
|
|
15
14
|
import { Range } from "semver";
|
|
16
15
|
import { Project } from "ts-morph";
|
|
17
16
|
import { RequestInfo, Response } from "undici";
|
|
17
|
+
import { ExternalIdResult, UnpluginBuildContext, UnpluginContext, UnpluginMessage } from "unplugin";
|
|
18
18
|
|
|
19
19
|
//#region ../powerlines/src/types/context.d.ts
|
|
20
20
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { ResolveOptions, VirtualFile, VirtualFileSystemInterface, WriteOptions } from "./fs.mjs";
|
|
2
|
-
import { ParsedTypeScriptConfig } from "./tsconfig.mjs";
|
|
3
|
-
import { InlineConfig, LogFn, UserConfig, WorkspaceConfig } from "./config.mjs";
|
|
4
|
-
import { HooksList, InferHooksListItem } from "./hooks.mjs";
|
|
5
2
|
import { EnvironmentResolvedConfig, ResolvedConfig, ResolvedEntryTypeDefinition } from "./resolved.mjs";
|
|
3
|
+
import { HooksList, InferHooksListItem } from "./hooks.mjs";
|
|
6
4
|
import { Plugin } from "./plugin.mjs";
|
|
5
|
+
import { ParsedTypeScriptConfig } from "./tsconfig.mjs";
|
|
6
|
+
import { InlineConfig, LogFn, UserConfig, WorkspaceConfig } from "./config.mjs";
|
|
7
7
|
import { ExternalIdResult, UnpluginBuildContext, UnpluginContext, UnpluginMessage } from "unplugin";
|
|
8
|
-
import { NonUndefined } from "@stryke/types/base";
|
|
9
8
|
import { EnvPaths } from "@stryke/env/get-env-paths";
|
|
10
9
|
import { FetchRequestOptions } from "@stryke/http/fetch";
|
|
10
|
+
import { NonUndefined } from "@stryke/types/base";
|
|
11
11
|
import { PackageJson } from "@stryke/types/package-json";
|
|
12
12
|
import { Jiti } from "jiti";
|
|
13
13
|
import { SourceMap } from "magic-string";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UnpluginBuilderVariant } from "./build.cjs";
|
|
2
|
-
import { PluginContext, WithUnpluginBuildContext } from "./context.cjs";
|
|
3
2
|
import { Plugin, PluginHookFields, PluginHookFunctions } from "./plugin.cjs";
|
|
3
|
+
import { PluginContext, WithUnpluginBuildContext } from "./context.cjs";
|
|
4
4
|
import { UnpluginOptions } from "unplugin";
|
|
5
5
|
|
|
6
6
|
//#region ../powerlines/src/types/hooks.d.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UnpluginBuilderVariant } from "./build.mjs";
|
|
2
|
-
import { PluginContext, WithUnpluginBuildContext } from "./context.mjs";
|
|
3
2
|
import { Plugin, PluginHookFields, PluginHookFunctions } from "./plugin.mjs";
|
|
3
|
+
import { PluginContext, WithUnpluginBuildContext } from "./context.mjs";
|
|
4
4
|
import { UnpluginOptions } from "unplugin";
|
|
5
5
|
|
|
6
6
|
//#region ../powerlines/src/types/hooks.d.ts
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { BuilderVariant } from "./build.cjs";
|
|
2
|
-
import { EnvironmentConfig, PluginConfig } from "./config.cjs";
|
|
3
|
-
import { EnvironmentResolvedConfig, ResolvedConfig } from "./resolved.cjs";
|
|
4
|
-
import { BuildPluginContext, PluginContext, UnresolvedContext } from "./context.cjs";
|
|
5
2
|
import { CommandType } from "./commands.cjs";
|
|
3
|
+
import { EnvironmentResolvedConfig, ResolvedConfig } from "./resolved.cjs";
|
|
6
4
|
import { InferUnpluginOptions } from "./unplugin.cjs";
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
5
|
+
import { EnvironmentConfig, PluginConfig } from "./config.cjs";
|
|
6
|
+
import { BuildPluginContext, PluginContext, UnresolvedContext } from "./context.cjs";
|
|
9
7
|
import { LoadResult } from "rollup";
|
|
8
|
+
import { AnyFunction, MaybePromise } from "@stryke/types/base";
|
|
10
9
|
import { ExternalIdResult, HookFilter, TransformResult } from "unplugin";
|
|
10
|
+
import { ArrayValues } from "@stryke/types/array";
|
|
11
11
|
|
|
12
12
|
//#region ../powerlines/src/types/plugin.d.ts
|
|
13
13
|
interface PluginHookObject<THookFunction extends AnyFunction, TFilter extends keyof HookFilter = never> {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { BuilderVariant } from "./build.mjs";
|
|
2
|
-
import { EnvironmentConfig, PluginConfig } from "./config.mjs";
|
|
3
|
-
import { EnvironmentResolvedConfig, ResolvedConfig } from "./resolved.mjs";
|
|
4
|
-
import { BuildPluginContext, PluginContext, UnresolvedContext } from "./context.mjs";
|
|
5
2
|
import { CommandType } from "./commands.mjs";
|
|
3
|
+
import { EnvironmentResolvedConfig, ResolvedConfig } from "./resolved.mjs";
|
|
6
4
|
import { InferUnpluginOptions } from "./unplugin.mjs";
|
|
5
|
+
import { EnvironmentConfig, PluginConfig } from "./config.mjs";
|
|
6
|
+
import { BuildPluginContext, PluginContext, UnresolvedContext } from "./context.mjs";
|
|
7
7
|
import { ExternalIdResult, HookFilter, TransformResult } from "unplugin";
|
|
8
|
-
import { ArrayValues } from "@stryke/types/array";
|
|
9
|
-
import { AnyFunction, MaybePromise } from "@stryke/types/base";
|
|
10
8
|
import { LoadResult } from "rollup";
|
|
9
|
+
import { AnyFunction, MaybePromise } from "@stryke/types/base";
|
|
10
|
+
import { ArrayValues } from "@stryke/types/array";
|
|
11
11
|
|
|
12
12
|
//#region ../powerlines/src/types/plugin.d.ts
|
|
13
13
|
interface PluginHookObject<THookFunction extends AnyFunction, TFilter extends keyof HookFilter = never> {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BuilderVariant } from "./build.cjs";
|
|
2
2
|
import { ESBuildUserConfig, EnvironmentConfig, FarmUserConfig, InlineConfig, OutputConfig, RolldownUserConfig, RollupUserConfig, RspackUserConfig, TsdownUserConfig, TsupUserConfig, UnbuildUserConfig, UserConfig as UserConfig$1, ViteUserConfig, WebpackUserConfig } from "./config.cjs";
|
|
3
|
-
import { NonUndefined } from "@stryke/types/base";
|
|
4
3
|
import { ResolvedPreviewOptions } from "vite";
|
|
4
|
+
import { NonUndefined } from "@stryke/types/base";
|
|
5
5
|
import { TypeDefinition } from "@stryke/types/configuration";
|
|
6
6
|
import { AssetGlob } from "@stryke/types/file";
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BuilderVariant } from "./build.mjs";
|
|
2
2
|
import { ESBuildUserConfig, EnvironmentConfig, FarmUserConfig, InlineConfig, OutputConfig, RolldownUserConfig, RollupUserConfig, RspackUserConfig, TsdownUserConfig, TsupUserConfig, UnbuildUserConfig, UserConfig as UserConfig$1, ViteUserConfig, WebpackUserConfig } from "./config.mjs";
|
|
3
|
-
import { NonUndefined } from "@stryke/types/base";
|
|
4
3
|
import { ResolvedPreviewOptions } from "vite";
|
|
4
|
+
import { NonUndefined } from "@stryke/types/base";
|
|
5
5
|
import { TypeDefinition } from "@stryke/types/configuration";
|
|
6
6
|
import { AssetGlob } from "@stryke/types/file";
|
|
7
7
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { BuilderVariant, InferUnpluginVariant, UnpluginBuilderVariant } from "./build.cjs";
|
|
2
2
|
import { InferResolvedConfig } from "./resolved.cjs";
|
|
3
|
-
import { Context } from "./context.cjs";
|
|
4
3
|
import { API } from "./api.cjs";
|
|
5
4
|
import { PluginHook } from "./plugin.cjs";
|
|
5
|
+
import { Context } from "./context.cjs";
|
|
6
6
|
import { MaybePromise } from "@stryke/types/base";
|
|
7
7
|
import { HookFilter, UnpluginOptions } from "unplugin";
|
|
8
8
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { BuilderVariant, InferUnpluginVariant, UnpluginBuilderVariant } from "./build.mjs";
|
|
2
|
-
import "./config.mjs";
|
|
3
2
|
import { InferResolvedConfig } from "./resolved.mjs";
|
|
4
|
-
import { Context } from "./context.mjs";
|
|
5
3
|
import { API } from "./api.mjs";
|
|
6
4
|
import { PluginHook } from "./plugin.mjs";
|
|
5
|
+
import "./config.mjs";
|
|
6
|
+
import { Context } from "./context.mjs";
|
|
7
7
|
import { HookFilter, UnpluginOptions } from "unplugin";
|
|
8
8
|
import { MaybePromise } from "@stryke/types/base";
|
|
9
9
|
|
|
File without changes
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { WebpackPluginContext, WebpackPluginOptions, WebpackPluginResolvedConfig, __ΩWebpackPluginContext, __ΩWebpackPluginOptions, __ΩWebpackPluginResolvedConfig } from "./plugin.cjs";
|
|
2
|
+
export { WebpackPluginContext, WebpackPluginOptions, WebpackPluginResolvedConfig, __ΩWebpackPluginContext, __ΩWebpackPluginOptions, __ΩWebpackPluginResolvedConfig };
|
package/dist/types/index.d.mts
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
import { WebpackPluginContext, WebpackPluginOptions, WebpackPluginResolvedConfig, __ΩWebpackPluginContext, __ΩWebpackPluginOptions, __ΩWebpackPluginResolvedConfig } from "./plugin.mjs";
|
|
1
|
+
import { WebpackPluginContext, WebpackPluginOptions, WebpackPluginResolvedConfig, __ΩWebpackPluginContext, __ΩWebpackPluginOptions, __ΩWebpackPluginResolvedConfig } from "./plugin.mjs";
|
|
2
|
+
export { WebpackPluginContext, WebpackPluginOptions, WebpackPluginResolvedConfig, __ΩWebpackPluginContext, __ΩWebpackPluginOptions, __ΩWebpackPluginResolvedConfig };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-webpack",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.179",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A package containing a Powerlines plugin to build projects using Webpack.",
|
|
6
6
|
"repository": {
|
|
@@ -146,14 +146,14 @@
|
|
|
146
146
|
"keywords": ["webpack", "powerlines", "storm-software", "powerlines-plugin"],
|
|
147
147
|
"dependencies": {
|
|
148
148
|
"defu": "^6.1.4",
|
|
149
|
-
"powerlines": "^0.37.
|
|
149
|
+
"powerlines": "^0.37.44",
|
|
150
150
|
"unplugin": "3.0.0-beta.3",
|
|
151
151
|
"webpack": "^5.104.1"
|
|
152
152
|
},
|
|
153
153
|
"devDependencies": {
|
|
154
|
-
"@powerlines/plugin-plugin": "^0.12.
|
|
154
|
+
"@powerlines/plugin-plugin": "^0.12.122",
|
|
155
155
|
"@types/node": "^24.10.9"
|
|
156
156
|
},
|
|
157
157
|
"publishConfig": { "access": "public" },
|
|
158
|
-
"gitHead": "
|
|
158
|
+
"gitHead": "e4860aa4ebc657acfef8a8f2399108f0badc520c"
|
|
159
159
|
}
|