From 4d4c509722a1a9773592331b851b65b405ea1123 Mon Sep 17 00:00:00 2001 From: bbassie <17990055+bbassie@users.noreply.github.com> Date: Tue, 27 Oct 2026 23:01:12 +0000 Subject: [PATCH] Remove the PluginWebpackEnvInfo alias Only core uses the type, so there is no need to keep the old name around (Cooldude in #1130). Co-Authored-By: Claude Opus 5.5 --- docs/devs/plugin-migration-to-2.1.md | 1 - packages/lib/src/plugin.ts | 3 --- 2 files changed, 4 deletions(-) diff --git a/docs/devs/plugin-migration-to-2.1.md b/docs/devs/plugin-migration-to-2.1.md index e20361ec..30545fdf 100644 --- a/docs/devs/plugin-migration-to-2.1.md +++ b/docs/devs/plugin-migration-to-2.1.md @@ -59,4 +59,3 @@ Imports of `assert`, `buffer`, `events`, `os`, `path`, `process`, `stream`, `uti The `container` property of `WebPluginContext` is now the plugin's ES module namespace, `await container.get("./web")` returns the module instead of a factory function. `lib.PluginWebpackEnvInfo` is renamed to `lib.PluginWebEnvInfo`. -The old name still works but is deprecated and will be removed. diff --git a/packages/lib/src/plugin.ts b/packages/lib/src/plugin.ts index 593ce8f5..f98e0d4a 100644 --- a/packages/lib/src/plugin.ts +++ b/packages/lib/src/plugin.ts @@ -98,9 +98,6 @@ export type PluginWebEnvInfo = PluginDeclaration & { error?: string; }; -/** @deprecated Use PluginWebEnvInfo */ -export type PluginWebpackEnvInfo = PluginWebEnvInfo; - /** * Information about the event. */