Skip to content

v11.0.0

Choose a tag to compare

@MiguelCastillo MiguelCastillo released this 25 Jan 17:32
· 110 commits to master since this release

This is a big build.

  1. New bundle output to handle circular dependencies across bundle splits. This is the biggest change in this release. We moved from browser-pack to a custom bundler.

  2. Added ability to bundle different types of input by specifying different forms of inputs in the src array. For example, you can specify a string (glob) as well as object with content, path, name that get resolved as modules by bit-bundler. In the example below "src/*.js" is a glob that gets expanded, then content is also bundle following all the module resolution/processing pipelines all other modules go through, and lastly name is resolved as a module name by bit-bundler allowing bundling of items in node_modules more easily.

Bitbundler.bundle({
  src: [
    "src/*.js",
    { content: "require('path');" },
    { name: "belty" }
  ]
})
  1. And other cleanup and bug minor bug fixes.