Registry / devops / run-plugin-webpack

run-plugin-webpack

JSON →
library1.0.0jsnpmunverified

Provides a basic class for creating Webpack plugins. Version 1.0.0 offers a straightforward structure to extend and implement the `apply` method. Released as an initial version with minimal documentation. Differentiates by being a minimal base class for Webpack plugin development.

npm install run-plugin-webpack
INSTALL
IMPORT
SIG · RUN-PLUGIN-WEBPACK
R
run-plugin-webpack
devopsjavascriptv1.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

RunPluginWebpack
import { RunPluginWebpack } from 'run-plugin-webpack'
default
import RunPluginWebpack from 'run-plugin-webpack'
const RunPluginWebpack = require('run-plugin-webpack')
Package may not support CommonJS; prefer ESM import.
RunPluginWebpack
import { RunPluginWebpack } from 'run-plugin-webpack'
import runPluginWebpack from 'run-plugin-webpack'
Exported class is named; default export may not exist.

Shows how to extend RunPluginWebpack to create a custom Webpack plugin.

import { RunPluginWebpack } from 'run-plugin-webpack'; class MyPlugin extends RunPluginWebpack { apply(compiler) { compiler.hooks.done.tap('MyPlugin', () => { console.log('Build completed!'); }); } } module.exports = MyPlugin;
Debug
Known issues
gotchaPackage documentation is incomplete; README only contains 'TO DO.'
fix
Refer to source or contact maintainer for usage details.
affects: >=1.0
Errors
Common errors & fixes
Cannot find module 'run-plugin-webpack'
Package not installed or incorrect import path.
fix
Run `npm install run-plugin-webpack --save-dev` and ensure import is correct.
Upgrade
Version history
1.0.0latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
run-plugin-webpack — npm install run-plugin-webpack · libregistry