Registry / devops / dora-plugin-webpack

dora-plugin-webpack

JSON →
library1.0.0jsnpmunverified

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.

npm install dora-plugin-webpack
INSTALL
IMPORT
SIG · DORA-PLUGIN-WEBPAC
D
dora-plugin-webpack
devopsjavascriptv1.0.0
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.

default
// Plugin is used via CLI, e.g., dora --plugins webpack
const doraPluginWebpack = require('dora-plugin-webpack')
This package is a dora plugin, not a library to require directly.

Shows installation and basic usage of dora-plugin-webpack with a simple webpack config.

// Install dependencies npm install dora dora-plugin-webpack atool-build --save-dev // Add scripts in package.json "scripts": { "start": "dora --plugins webpack" } // Create webpack.config.js module.exports = { entry: './index.js', output: { path: './dist', filename: 'bundle.js' } }; // Run npm start // With options: dora --plugins "webpack?publicPath=/my-app&verbose"
Debug
Known issues
gotchaPlugin expects dora version 0.4.x; using newer versions may cause incompatibility.
fix
Use dora@0.4.x or check compatibility with newer dora versions.
affects: >=0.5.0
gotchaThe plugin does not work without atool-build as a peer dependency.
fix
Install atool-build at version 1.x alongside dora-plugin-webpack.
affects: *
gotchaOptions passed via query string must be URL-encoded or properly quoted in CLI.
fix
Use quotes: dora --plugins "webpack?publicPath=/app"
affects: *
Errors
Common errors & fixes
Error: Cannot find module 'atool-build'
Missing peer dependency atool-build.
fix
npm install atool-build@1.x --save-dev
Warning: dora version mismatch, expected 0.4.x
Dora version is not 0.4.x.
fix
Use dora@0.4.x or update dora-plugin-webpack if available.
Upgrade
Version history
1.0.0latest on npm
Audit
Dependencies
atool-buildrequiredpeer dependency for build tool integration
dorarequiredpeer dependency for plugin framework
Agent activity
2 hits · last 30 days
node
2
Resources
dora-plugin-webpack — npm install dora-plugin-webpack · libregistry