paint-brush
FuseBox — bundle your project within a fraction of a secondby@ivanorlov
2,269 reads
2,269 reads

FuseBox — bundle your project within a fraction of a second

by Ivan OrlovJanuary 3rd, 2017
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

FuseBox is a bundler/module loader that combines the power of webpack, JSPM and SystemJS. It takes 50–100ms to re-bundle a heavy project.

Company Mentioned

Mention Thumbnail
featured image - FuseBox — bundle your project within a fraction of a second
Ivan Orlov HackerNoon profile picture

FuseBox is a bundler/module loader that combines the power of webpack, JSPM and SystemJS. It takes 50–100ms to re-bundle a heavy project.

Github page

FuseBox is a young but a very ambitious project. The community is growing, and I am infinitely grateful for all contributors that make FuseBox better, faster, stronger.

I will highlight some of the features, and leave the rest it up to you here

Configuration

The main goal of FuseBox is to avoid configuration as much as possible. Everything should work out of the box. Unlike WebPack, you don’t need to bother whether your project will get bundled or not. It just will. You can bundle such monsters like babel-core with just this many lines:




FuseBox.init({homeDir: "src",outFile: "_build/out.js"}).bundle("> index.js")

Productivity is the key, FuseBox makes the heavy lifting for you

Performance

FuseBox is blazing fast, it re-bundles your project within a fraction of a second, yet offering a comprehensive API. It takes only 50–100ms to take care of typescript (compile + bundle) and SASS

A convincing benchmark is here. 1200 files to require once / FuseBox 0.234s / Webpack 1.376s

First class typescript support

Typescript just works with FuseBox.




FuseBox.init({homeDir: "src",outFile: "_build/out.js"}).bundle("> index.ts")

Change .js to .ts and start working with typescript. There is a top-notch angular2 TODO app here which fully demonstrates the power of FuseBox. Live demo is available here

Loader API

Few highlights here:

Plugins

FuseBox has a good amount of plugins available to help you get started. Thanks to our contributors ;-) And the API is absolutely simple and convenient to work with.

There is so much more. Much more

If you like the project, don’t forget to star it on github! And of course, spread the word by clicking ♥

Join our gitter channel, we are active and very friendly!