Skip to content

v9.1.0

Choose a tag to compare

@MiguelCastillo MiguelCastillo released this 03 Jan 21:15
· 186 commits to master since this release

Introduced ability to bundle contents. This helps create bundle for more routine work where bundling a string or a buffer is really useful.

const Bitbundler = require("bit-bundler");

Bitbundler.bundle({
  dest: "dist/out.js",
  contents: `
    const hello = require("./src/hello");
    const world = require("./src/world");
    console.log(hello() + " + " + world());
  `
});