Hacker Newsnew | past | comments | ask | show | jobs | submit | pshu's commentslogin


Well yes I'm using something familiar, to embed the HTML and JS directly. But want to embed a webpacked entity, and have it run through a typescript compiler. But would like something driven from build.rs


it's maybe a Nash Equilibrium to investing in Rust tools in big tech productivity races.


https://makojs.dev/blog/mako-tree-shaking explains how mako do the tree shaking stuff, but in Chinese.

In my two cents, the tree shaking is more focus on removing unused exports in ES module at top level. it's a mixing with Dead code elimination and link time optimization.


according the current situation in bundlers written in JS,there is no "really" winner in my opinion。 webpack or rullup,which one is winner is a very personal thought。 So i think there maybe some similar situation in bundlers written in Rust.


Wepack for web apps, rollup for libraries. Very much depends on what you're doing, the tools usually aren't good at all of them. There's 1 or 2 other use cases I'm forgetting.


Are you Japanese? Those period symbols are interesting.


'。' is a Chinese full stop, equivalent to a period in English


Ah that's cool. So it includes spacing inherently in the character it looks like, rather than English's ". " which are two characters.


the issue shows that Mako plans to support the unplugin system, it's a compat solution for existing ecosystem.

https://github.com/umijs/mako/issues/1238


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: