by 130e13a · 3y ago · 0 comments
const a = 1;
let b = 2;
console.log(a, b);
bun build --minify a.js // bundles this to: var o=1,l=2;console.log(o,l);
It's not even using const or let, it's flattened these multiple statements into one 'var' statementAnd yes it’s nice to build something on your own, but this project is clearly aiming to convince other people to use it in their projects.