Sharing Top Content from the Angular-sphere.

FuseBox 3.0 — faster than ever – fusebox – Medium

  • Moreover, FuseBox does what none of the bundlers can — you can publish a typescript source and once the latter one installed, FuseBox will make a split automatically (if defined).
  • Check the example hereAnd most certainly, you are able to create split bundles that contain project will traverse the tree and detect which files and packages belong only to that split package.
  • If you are planning to use with FuseBox you can set main option to point to a typescript file.
  • And again — no configuration required.The actual benefits are:You are in control of script targets.Tree shaking will work 100%No brainer with typings (you don’t need to generate ones)You can use async await syntax to split packages within an NPM library!
  • We’ve refactored the code to use async await instead of Promises.For those who aren’t ready to switch to the latest NodeJS, there is a bundle with es6 target that you can useimport { FuseBox } from “fuse-box/es6Brand new websiteAnd finally we have a fresh new lookIf you like the project, don’t…

FuseBox 3.0 has been finally released, it’s 20% faster and lighter. Did you know that it takes 50–100ms to re-bundle a heavy project? It’s finally here. No magical comments, no configs. FuseBox…

FuseBox 3.0 — faster than everFuseBox 3.0 has been finally released, it’s 20% faster and lighter. Did you know that it takes 50–100ms to re-bundle a heavy project?Let’s break it down and see what are the new features.Code splitting without configurationIt’s finally here. No magical comments, no configs. FuseBox builds a dependency tree automatically and generates according bundles. You can split a package for example just by defining a dynamic import.await import(“moment”)Isn’t that great? Moreover, FuseBox does what none of the bundlers can — you can publish a typescript source and once the latter one installed, FuseBox will make a split automatically (if defined). Say, you are relying on a library but you know that it’s heavy, so you could publish a source that contains dynamic imports. It will be split without user even knowing it. Check the example hereAnd most certainly, you are able to create split bundles that contain project will traverse the tree and detect which files and packages belong only to that split package. Shared packages will not be bundled and stay within the master bundle.Updated task runnerOur task runner “Sparky” has been greatly simplified, we’ve added new helpers like npmPublish and some others, to help you deal with your everyday tasks.It looks much nicer, and finally each task can receive a contextContext function accepts classes, functions and objects and passed into each task.Typescript packagesNow you can publish a typescript package to npm!{ “ts:main” : “index.ts”, “main” : “index.js”}Just modify package.json and off you go. If you are planning to use with…

FuseBox 3.0 — faster than ever – fusebox – Medium