{"id":20712,"library":"webpack-bbq","title":"webpack-bbq","description":"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.","status":"maintenance","version":"5.3.9","language":"javascript","source_language":"en","source_url":"https://github.com/wenbing/webpack-bbq","tags":["javascript","bbq","webpack"],"install":[{"cmd":"npm install webpack-bbq","lang":"bash","label":"npm"},{"cmd":"yarn add webpack-bbq","lang":"bash","label":"yarn"},{"cmd":"pnpm add webpack-bbq","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"Peer dependency, required for plugin to function","package":"webpack","optional":false},{"reason":"Peer dependency, required for development server integration","package":"webpack-dev-server","optional":true}],"imports":[{"note":"Default import; CommonJS require works but may not be tree-shakable.","wrong":"const BbqPlugin = require('webpack-bbq');","symbol":"BbqPlugin","correct":"import BbqPlugin from 'webpack-bbq'"},{"note":"If using CommonJS, .default is required to get the plugin constructor.","wrong":"const BbqPlugin = require('webpack-bbq');","symbol":"BbqPlugin","correct":"const BbqPlugin = require('webpack-bbq').default;"},{"note":"Not valid; BbqPlugin is a default export, not named.","wrong":"","symbol":"BbqPlugin","correct":"import { BbqPlugin } from 'webpack-bbq'"}],"quickstart":{"code":"// webpack.config.js\nconst BbqPlugin = require('webpack-bbq').default;\n\nmodule.exports = {\n  plugins: [\n    new BbqPlugin({\n      flavor: 'smoky',\n      temperature: 225\n    })\n  ]\n};","lang":"javascript","description":"Shows how to add the BbqPlugin to webpack config using CommonJS."},"warnings":[{"fix":"Use require('webpack-bbq').default or switch to ES6 import.","message":"Default export requires .default in CommonJS. Using require('webpack-bbq') directly returns the module, not the class.","severity":"gotcha","affected_versions":">=5.0.0"},{"fix":"Use a modern alternative or update the plugin if available.","message":"This plugin is designed for webpack 3.x. It may not work with webpack 4 or 5.","severity":"deprecated","affected_versions":">=4.0.0"},{"fix":"Ensure temperature is a number, e.g., { temperature: 225 }.","message":"The 'temperature' option must be a number; passing a string may cause unexpected behavior.","severity":"gotcha","affected_versions":">=5.0.0"}],"env_vars":null,"last_verified":"2026-04-25T00:00:00.000Z","next_check":"2026-07-24T00:00:00.000Z","problems":[{"fix":"const BbqPlugin = require('webpack-bbq').default;","cause":"Using require('webpack-bbq') without .default in CommonJS environment.","error":"TypeError: BbqPlugin is not a constructor"},{"fix":"Run 'npm install webpack-bbq' and ensure it's in node_modules.","cause":"Package not installed or module path resolution failure.","error":"Error: Cannot find module 'webpack-bbq'"},{"fix":"Use require('webpack-bbq').default or configure Babel to transpile ES6 imports.","cause":"Using ES6 import in a Node.js environment that does not support ESM without transpilation.","error":"SyntaxError: Unexpected token import"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}