Base class for creating webpack plugins in the yyl ecosystem. Stable version 0.2.2. Provides a TypeScript-friendly foundation with built-in lifecycle hooks, validation, and type definitions. Differentiates by offering a streamlined API for yyl-related plugins, but limited outside that context.
npm install yyl-webpack-plugin-baseNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates a custom webpack plugin extending YylWebpackPluginBase with lifecycle hooks.
Pin to exact version and test upgrades.
Always call super({ name: 'YourPluginName' }) in constructor.Use hooks option in super() instead.
Run 'npm install yyl-webpack-plugin-base' or 'yarn add yyl-webpack-plugin-base'.
Change to 'import { YylWebpackPluginBase } from 'yyl-webpack-plugin-base''.Use this.getName() instead of this.pluginName.