runtime-bundler

1.0.0-alpha.1 • Public • Published

runtime-bundler

Patreon Donate GitHub stars

Runtime Bundling of JavaScript Assets

ko-fi

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

Readme

Keywords

Package Sidebar

Install

npm i runtime-bundler

Weekly Downloads

2

Version

1.0.0-alpha.1

License

MIT

Unpacked Size

4.67 kB

Total Files

6

Last publish

Collaborators

  • maoberlehner