Registry / devops / webup

webup

JSON →
library1.8.0jsnpmunverified

Webup is a minimalist builder/bundler for web projects, primarily concerned with reading, joining, and splitting HTML, CSS, and JavaScript files. Unlike opinionated, all-in-one bundlers, Webup's core is intentionally 'lazy,' relying heavily on a robust plugin and preset system to perform actual bundling, optimization, and transformation tasks. The current stable version is 1.8.0, published in 2021. The project has an open-ended release cadence, with the last update several years ago. Its key differentiator is its modular approach, requiring users to explicitly configure or choose presets and plugins to achieve a desired build process, offering high flexibility but requiring more setup than integrated solutions. It supports entry points, shell templates, destination paths, and source inclusion.

devops
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

The primary function is likely a default export, common in older bundler patterns. CommonJS `require` might work in Node, but ESM `import` is preferred for modern projects.

import webup from 'webup';

Demonstrates a basic Webup build configuration, bundling HTML, CSS, and JavaScript into a specified destination using the default preset.

import webup from 'webup'; // Ensure you have webup-preset-default installed: npm install webup-preset-default // and potentially create your source files: // public/index.html // public/my-app.html // public/js/main.js webup({ entry: 'public/index.html', shell: 'public/my-app.html', dest: 'build/index.html', sources: ['public/**/*', './node_modules/**/*', '!./node_modules/**/*.test.js'], // Include node_modules for dependencies plugins: [], // Custom plugins can be added here presets: ['default'] // The 'default' preset (from webup-preset-default) is essential }) .then(() => { console.log('Webup build successful!'); }) .catch(error => { console.error('Webup build failed:', error); });
webup --version
Debug
Known footguns
gotchaWebup's core is deliberately minimalist and 'does nothing' by default. You must explicitly define `presets` in your configuration to enable any build functionality.
breakingThe project appears to be unmaintained. The last commit on GitHub was in April 2021, and the last npm publish was 3 years ago. This means there will be no future updates, bug fixes, or security patches.
Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
0 hits · last 30 days

No traffic data recorded yet.

Resources