{"id":19447,"library":"dora-plugin-webpack","title":"dora-plugin-webpack","description":"A plugin for dora that provides webpack integration for development and build purposes. Version 1.0.0 is the current stable release. It allows running webpack via dora with options such as custom config path, publicPath, and verbose logging. This plugin is part of the dora ecosystem and is maintained as part of the dora-js organization. It is useful for projects that use atool-build and dora together.","status":"active","version":"1.0.0","language":"javascript","source_language":"en","source_url":"https://github.com/dora-js/dora-plugin-webpack","tags":["javascript"],"install":[{"cmd":"npm install dora-plugin-webpack","lang":"bash","label":"npm"},{"cmd":"yarn add dora-plugin-webpack","lang":"bash","label":"yarn"},{"cmd":"pnpm add dora-plugin-webpack","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"peer dependency for build tool integration","package":"atool-build","optional":false},{"reason":"peer dependency for plugin framework","package":"dora","optional":false}],"imports":[{"note":"This package is a dora plugin, not a library to require directly.","wrong":"const doraPluginWebpack = require('dora-plugin-webpack')","symbol":"default","correct":"// Plugin is used via CLI, e.g., dora --plugins webpack"}],"quickstart":{"code":"// Install dependencies\nnpm install dora dora-plugin-webpack atool-build --save-dev\n\n// Add scripts in package.json\n\"scripts\": {\n  \"start\": \"dora --plugins webpack\"\n}\n\n// Create webpack.config.js\nmodule.exports = {\n  entry: './index.js',\n  output: {\n    path: './dist',\n    filename: 'bundle.js'\n  }\n};\n\n// Run\nnpm start\n\n// With options:\ndora --plugins \"webpack?publicPath=/my-app&verbose\"","lang":"javascript","description":"Shows installation and basic usage of dora-plugin-webpack with a simple webpack config."},"warnings":[{"fix":"Use dora@0.4.x or check compatibility with newer dora versions.","message":"Plugin expects dora version 0.4.x; using newer versions may cause incompatibility.","severity":"gotcha","affected_versions":">=0.5.0"},{"fix":"Install atool-build at version 1.x alongside dora-plugin-webpack.","message":"The plugin does not work without atool-build as a peer dependency.","severity":"gotcha","affected_versions":"*"},{"fix":"Use quotes: dora --plugins \"webpack?publicPath=/app\"","message":"Options passed via query string must be URL-encoded or properly quoted in CLI.","severity":"gotcha","affected_versions":"*"}],"env_vars":null,"last_verified":"2026-04-25T00:00:00.000Z","next_check":"2026-07-24T00:00:00.000Z","problems":[{"fix":"npm install atool-build@1.x --save-dev","cause":"Missing peer dependency atool-build.","error":"Error: Cannot find module 'atool-build'"},{"fix":"Use dora@0.4.x or update dora-plugin-webpack if available.","cause":"Dora version is not 0.4.x.","error":"Warning: dora version mismatch, expected 0.4.x"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}