{"id":27542,"library":"webpack-bundler","title":"webpack-bundler","description":"An experimental alpha package providing webpack bundling flow and proxy-mock functionality for development. Version 0.1.0-alpha.1 is pre-release with no stable release yet. It depends on webpack ^3.0.0. Key differentiators: integrates proxy mocking directly into the bundling pipeline, but is early-stage and likely unstable. Not recommended for production use.","status":"deprecated","version":"0.1.0-alpha.1","language":"javascript","source_language":"en","source_url":"https://github.com/zdzDesigner/webpack-bundler","tags":["javascript","api","config","axios"],"install":[{"cmd":"npm install webpack-bundler","lang":"bash","label":"npm"},{"cmd":"yarn add webpack-bundler","lang":"bash","label":"yarn"},{"cmd":"pnpm add webpack-bundler","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"peer dependency required for bundling, version ^3.0.0","package":"webpack","optional":false}],"imports":[{"note":"ESM-only, likely no CJS support in alpha.","wrong":"const webpackBundler = require('webpack-bundler')","symbol":"default","correct":"import webpackBundler from 'webpack-bundler'"},{"note":"Named export for proxy-mock functionality.","wrong":"","symbol":"proxyMock","correct":"import { proxyMock } from 'webpack-bundler'"},{"note":"Named export for configuration.","wrong":"","symbol":"bundlerConfig","correct":"import { bundlerConfig } from 'webpack-bundler'"}],"quickstart":{"code":"import webpackBundler from 'webpack-bundler';\nimport { proxyMock } from 'webpack-bundler';\n\nconst config = {\n  entry: './src/index.js',\n  output: { path: './dist', filename: 'bundle.js' },\n  proxy: proxyMock({ '/api': 'http://localhost:3000' })\n};\n\nwebpackBundler(config, (err, stats) => {\n  if (err) console.error(err);\n  else console.log(stats.toString());\n});","lang":"javascript","description":"Shows basic usage of webpack-bundler with proxyMock integration."},"warnings":[{"fix":"Lock to exact version and expect migration.","message":"Alpha version may have incomplete APIs and breaking changes between releases.","severity":"breaking","affected_versions":"0.1.0-alpha.1"},{"fix":"Consider alternatives like webpack-dev-server with proxy.","message":"Package is unlikely maintained; no updates since initial alpha.","severity":"deprecated","affected_versions":">=0.0.0"},{"fix":"If using newer webpack, do not use this package.","message":"Requires webpack ^3.0.0, not compatible with webpack 4 or 5.","severity":"gotcha","affected_versions":">=0.0.0"}],"env_vars":null,"last_verified":"2026-04-25T00:00:00.000Z","next_check":"2026-07-24T00:00:00.000Z","problems":[{"fix":"npm install webpack-bundler","cause":"Package not installed or name mistyped.","error":"Cannot find module 'webpack-bundler'"},{"fix":"npm install webpack@3","cause":"Incompatible webpack version installed.","error":"Error: webpack version mismatch; expected ^3.0.0"},{"fix":"Use import syntax as shown in docs.","cause":"Incorrect import (e.g., using require in ESM context).","error":"TypeError: webpackBundler is not a function"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}