Skip to content

v10.0.0

Choose a tag to compare

@MiguelCastillo MiguelCastillo released this 25 Jan 17:22
· 182 commits to master since this release

breaking update. This update changes contents to content which seems more intuitive to the consumer.

So now you would bundle with this

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

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