runtime-bundler

Runtime Bundling of JavaScript Assets

MIT License

Downloads
4
Stars
4
Committers
1

runtime-bundler

Runtime Bundling of JavaScript Assets

runtime-bundler is a collection of tools to enable bundling JavaScript assets server-side or serverless.

Usage

npm install runtime-bundler
// Usage with express
const { runtimeBundlerMiddleware } = require('runtime-bundler');

const app = express();

// The `assetDirectory` is the path to the assets relative to the current file.
app.use('/js', runtimeBundlerMiddleware({ assetDirectory: './public/' }));

About

Author

Markus Oberlehner Website: https://markus.oberlehner.net Twitter: https://twitter.com/MaOberlehner PayPal.me: https://paypal.me/maoberlehner Patreon: https://www.patreon.com/maoberlehner

License

MIT

Package Rankings
Top 25.69% on Npmjs.org
Badges
Extracted from project README
Patreon Donate GitHub stars
Related Projects