Registry / devops / webpack-bbq

webpack-bbq

JSON →
library5.3.9jsnpmunverified

A webpack plugin that adds BBQ-like functionality for building webpack bundles. Version 5.3.9 is the current stable release, with no recent major releases. This package is a niche plugin for webpack 3.x, relying on webpack-dev-server 2.x. It differentiates itself by providing a custom BBQ plugin for webpack, but its utility is limited to specific legacy setups. The package has low popularity on npm and is not actively maintained.

npm install webpack-bbq
INSTALL
IMPORT
SIG · WEBPACK-BBQ
W
webpack-bbq
devopsjavascriptv5.3.9
Install
Import
Disk
Pass rate
0/ 6
Env Coverage0 / 6
glibc
1822
musl
1822
Install & Compatibility
Where this runs
tested against v? · npm install
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
node 18226 runs
build_error
glibc
node 18226 runs
build_error
Code
Verified usage

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

BbqPlugin
import BbqPlugin from 'webpack-bbq'
const BbqPlugin = require('webpack-bbq');
Default import; CommonJS require works but may not be tree-shakable.
BbqPlugin
const BbqPlugin = require('webpack-bbq').default;
const BbqPlugin = require('webpack-bbq');
If using CommonJS, .default is required to get the plugin constructor.
BbqPlugin
import { BbqPlugin } from 'webpack-bbq'
Not valid; BbqPlugin is a default export, not named.

Shows how to add the BbqPlugin to webpack config using CommonJS.

// webpack.config.js const BbqPlugin = require('webpack-bbq').default; module.exports = { plugins: [ new BbqPlugin({ flavor: 'smoky', temperature: 225 }) ] };
Debug
Known issues
gotchaDefault export requires .default in CommonJS. Using require('webpack-bbq') directly returns the module, not the class.
fix
Use require('webpack-bbq').default or switch to ES6 import.
affects: >=5.0.0
deprecatedThis plugin is designed for webpack 3.x. It may not work with webpack 4 or 5.
fix
Use a modern alternative or update the plugin if available.
affects: >=4.0.0
gotchaThe 'temperature' option must be a number; passing a string may cause unexpected behavior.
fix
Ensure temperature is a number, e.g., { temperature: 225 }.
affects: >=5.0.0
Errors
Common errors & fixes
TypeError: BbqPlugin is not a constructor
Using require('webpack-bbq') without .default in CommonJS environment.
fix
const BbqPlugin = require('webpack-bbq').default;
Error: Cannot find module 'webpack-bbq'
Package not installed or module path resolution failure.
fix
Run 'npm install webpack-bbq' and ensure it's in node_modules.
SyntaxError: Unexpected token import
Using ES6 import in a Node.js environment that does not support ESM without transpilation.
fix
Use require('webpack-bbq').default or configure Babel to transpile ES6 imports.
Upgrade
Version history
5.3.9latest on npm
Audit
Dependencies
webpackrequiredPeer dependency, required for plugin to function
webpack-dev-serveroptionalPeer dependency, required for development server integration
Agent activity
9 hits · last 30 days
node
8
OpenAI (training)
1
Resources
webpack-bbq — npm install webpack-bbq · libregistry