Inferno: Preferred / better typescript build system for inferno (parcel, rollup) ?

Created on 23 Jun 2020  路  4Comments  路  Source: infernojs/inferno

I'm the front end dev for Lemmy, and we're using @deamme 's typescript transformer, along with fuse-box, to do our front end builds.

Unfortunately tho, fuse-box has upgraded to a new version, and it doesn't seem to support inferno (I tried and failed at adapting it).

Although fuse-box v3 is currently working, we do want to stay with something that's going to be supported in the future, and does all the necessary uglifying and stripping that fuse-box does.

Parcel and Rollup.js seem like good possibilities: https://blog.bitsrc.io/choosing-the-right-javascript-bundler-in-2020-f9b1eae0d12b

documentation question

Most helpful comment

webpack with ts-loader works well for me

All 4 comments

Might want to add esbuild to the equation as well :) esbuild and inferno seem to have the same motto :)

webpack with ts-loader works well for me

@MrFoxPro Does that do minifying / tree-shaking too?

webpack is more stable. I've had issues with the typescript plugin for rollup. No experience with parcel.

Was this page helpful?
0 / 5 - 0 ratings