Dumber is a JavaScript bundler specifically designed for Single Page Applications (SPAs), prioritizing simplicity and ease of use. Currently at version 3.1.3, it is actively maintained with a focus on integrating seamlessly into existing build workflows, primarily through its companion Gulp plugin, `gulp-dumber`. Dumber's release cadence follows a semantic versioning approach, with minor and patch releases addressing new features, bug fixes, and performance improvements, while major versions may introduce breaking changes to its core API or configuration. It differentiates itself by being primarily consumed as a build tool integration rather than a standalone CLI or direct programmatic API, providing a streamlined experience for Gulp users. The project encourages using a generator (`npx makes dumberjs`) to scaffold new projects with Dumber pre-configured, highlighting its integration-first philosophy for modern web development.
npm install dumberVerified import paths — ran on the pinned version, not inferred.
This quickstart demonstrates how to set up a `gulpfile.js` to build a JavaScript SPA using `gulp-dumber`. It configures dumber to create application and vendor bundles, includes basic error handling, and outputs to a specified directory.
Instead of attempting to import or configure `dumber` directly, install and use `gulp-dumber` within your Gulp build pipeline. Refer to the `gulp-dumber` documentation for correct usage patterns.
Always consult the release notes and migration guides for both `dumber` and `gulp-dumber` when upgrading major versions. Carefully review your `gulpfile.js` for deprecated options or required structural changes.
Ensure your application code adheres to standard ES Modules or CommonJS patterns. For legacy scripts, consider using Dumber's configuration options for globals or external libraries, as demonstrated in `gulp-dumber` examples.
Ensure you are importing `gulp-dumber` (e.g., `const dumber = require('gulp-dumber');`) in your `gulpfile.js` and using its default export as the plugin.Verify that both `dumber` and `gulp-dumber` are listed in your `package.json` dependencies and installed (`npm install`). Check your import/require paths to ensure they match the package names exactly.
Double-check your `dumber` configuration within `gulp-dumber`. Ensure `cwd` is correctly pointing to your source root, `entryBundle` specifies valid entry points relative to `cwd`, and your `gulp.src()` pattern matches your source files.
No dependency data recorded yet.