Kasper Peulen
2015-10-07 22:00:41 UTC
I understand the historical, but as it is now, it seems a little bit off
that the standard output of `pub build` causes a 404 and runs a
"browser/dart.js" file to determine if the browser has "native" dart
support, while no production browser has native dart support or will ever
get native dart support.
So instead of letting every new user have to find out that he will
need/want dart_to_js_script_rewriter in every web project, I think it would
be better if `pub build` would do this rewriting of
`type="application/dart"` script tags by default.
that the standard output of `pub build` causes a 404 and runs a
"browser/dart.js" file to determine if the browser has "native" dart
support, while no production browser has native dart support or will ever
get native dart support.
So instead of letting every new user have to find out that he will
need/want dart_to_js_script_rewriter in every web project, I think it would
be better if `pub build` would do this rewriting of
`type="application/dart"` script tags by default.
--
For other discussions, see https://groups.google.com/a/dartlang.org/
For HOWTO questions, visit http://stackoverflow.com/tags/dart
To file a bug report or feature request, go to http://www.dartbug.com/new
To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.
For other discussions, see https://groups.google.com/a/dartlang.org/
For HOWTO questions, visit http://stackoverflow.com/tags/dart
To file a bug report or feature request, go to http://www.dartbug.com/new
To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.