|
|
|
|
|
by ratbeard
4125 days ago
|
|
I imagine they've improved the runtime size since that stack overflow post was posted a few years ago. However I've never used dart and just tried it out using a basic html sample from the tutorial page and I see: 264 Mar 5 12:21 a.dart
237K Mar 5 12:21 a.js
101K Mar 5 12:22 a.min.js
It was also slow to compile, 6 secs.Anything I'm missing? https://gist.github.com/ratbeard/70902d6347ad448de0a4 |
|
Also note that you could now add a thousand lines of code and the file size wouldn't increase much. You already paid that one-time cost.
You can further improve the size by using a better minifier on top of --minify.