A simple asset bundler for Express applications, inspired by the .NET MVC 4 bundler. It combines multiple CSS or JavaScript files into single bundles with optional minification via custom transformers. Version 0.0.8 is the latest, with low release cadence (no recent updates). Key differentiators: lightweight, Express integration, extensible via custom transformers. Not actively maintained; may have compatibility issues with modern Node.js.
npm install resource-bundlerVerified import paths — ran on the pinned version, not inferred.
This shows how to set up Express with resource-bundler, create style and script bundles, and serve them on a route.
Consider alternatives like webpack or parcel.
Ensure file paths are correct and accessible via static middleware.
Use custom transformers with uglify-js or clean-css.
Run 'npm install resource-bundler' or check package.json dependencies.
Use 'import bundler from "resource-bundler"' (default export).
Ensure bundle name matches and bundle is added before calling resolve().
No dependency data recorded yet.