4 ms·
--minify is still being improved and is not complete yet. As well, you need to say what libs you included. If you import "HTML" it is basically like including j
by kyrra 14y ago
--minify is still being improved and is not complete yet. As well, you need to say what libs you included. If you import "HTML" it is basically like including jquery.
- weareconvo 14y agoRight, but the great thing about a compiled language like Dart is that it can detect at compile-time which modules aren't being used and then exclude those from the js output. Except, it doesn't seem to ever do that. EDIT: Well, technically, Dart is actually designed to be interpreted (or JIT compiled, or what have you) by the Dart VM, so calling it a "compiled language" was incorrect on my part. However, dart2js is a compiler, so, it should be doing compiler-y shit.
- kyrra 14y agoTree-shaking is the term for removal of uncalled functions. The minifier is still early on so expect it to get better with time.