It is what it says it is.
However, this bundler aims to be a monolithic does-it-all type of bundler; with zero configuration needed. (however, optional configuration will be supported)
Most bundlers allows you to select an output format of the code, such as:
"CommonJS", "AMD", "System", "UMD", "ES6", "ES2015" or "ESNext"FJB does not implement this concept.
Instead, FJB adapts the code automatically through static analysis.
FJB aims to generate code that works everywhere (when possible).
A bundler should be smart enough so that the developer can focus on other things. :brain:
bash fjb index.js
bash fjb index.js > dist.js
Below is an example of some code that is 100% supported.
(Without any plugins or configuration)
The easiest way to install FJB is to head over to releases and download a
.debfile that suits you.
Then you can simply run:
bash sudo apt install ./<filename>.deb
fjbyou will need the following: 1. A C compiler (I would suggest gcc) 2. Git
This step will generate a
You can start using this right away. :tophat:
To continue and install
bash make installAlso make sure you add
$HOME/.local/binto your PATH.
Have a look at benchmarks.md :fire:
Not sure, it's just a hobby project at this point.
Frustration, frustration with existing tools.
The existing alternatives are not fast enough, and gets in the way a bit more than they should.
You can definitely bundle React apps with FJB.
However, there might be some missing features / bugs since the JSX implementation in FJB is pretty new.
You can see a working React example here
I will not encourage anyone to use it, but feel free to do it.
Probably not, but feel free to make a pull-request with the required changes for it to work.
Probably. I haven't tried it, but I would definitely think so.
Yes you can. Simply fork it and start making pull-requests.
Have a look at this guide
If you find a bug, please report it here: https://github.com/sebbekarlsson/fjb/issues
Yes, but this feature is under development... so expect bugs.
There's no need to worry about that, FJB knows if you're using React or not, and automatically takes care of it for you.
Feel free to create an issue here, and I'll be able to help you.
I would prefer if you make pull-requests through forking at first.
Once I've seen that you've made valuable contributions, you might be able to be added as a collaborator.