Discussion:
[dart-misc] Why does pub not include the .dart files in release mode?
Jop V.
2016-09-14 10:52:26 UTC
Permalink
https://webdev.dartlang.org/tools/pub/pub-build

Also, in release mode, pub does not include any source .dart files in the
resulting build output since they have been compiled to JavaScript. In any
other mode, the raw Dart files are included.
I know Google dropped plans to include Dart support in Chrome a long time
ago, but in the future a browser might come along that does have Dart
support. And then it becomes a performance disadvantages that the .dart
files have been thrown away. So why not just include the .dart files? Why
would it hurt?
--
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
---
You received this message because you are subscribed to the Google Groups "Dart Misc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.
'Bob Nystrom' via Dart Misc
2016-09-14 17:59:57 UTC
Permalink
in the future a browser might come along that does have Dart support.
If that happens, we could change pub to include the .dart files at that
point.

So why not just include the .dart files? Why would it hurt?


They take up a lot of space and may leak information developers don't want
in their deployed application.

– bob
--
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
---
You received this message because you are subscribed to the Google Groups "Dart Misc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.
tatumizer-v0.2
2016-09-14 18:43:06 UTC
Permalink
but in the future a browser might come along that does have Dart support
Finally, see another sarcastic poster on this board! Welcome brother!
--
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
---
You received this message because you are subscribed to the Google Groups "Dart Misc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.
Don Olmstead
2016-09-14 21:51:18 UTC
Permalink
Yea its totally what we need.
Post by tatumizer-v0.2
but in the future a browser might come along that does have Dart support
Finally, see another sarcastic poster on this board! Welcome brother!
--
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
---
You received this message because you are subscribed to the Google Groups
"Dart Misc" group.
To unsubscribe from this group and stop receiving emails from it, send an
--
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
---
You received this message because you are subscribed to the Google Groups "Dart Misc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.
Filipe Morgado
2016-09-14 22:09:03 UTC
Permalink
I don't think it's that sarcastic!

If Flutter/Fuchsia are successful, I can easily imagine Chrome running all
that app ecosystem (provided there's a Flutter implementation for the web).
Chrome and Fuchsia have apparently a lot of common concepts in their core
platforms.

"Runs better in Chrome" could actually be rebranded, this time backed by an
actual app market share (unlike NaCL).
Post by Don Olmstead
Yea its totally what we need.
Post by tatumizer-v0.2
but in the future a browser might come along that does have Dart support
Finally, see another sarcastic poster on this board! Welcome brother!
--
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
---
You received this message because you are subscribed to the Google Groups
"Dart Misc" group.
To unsubscribe from this group and stop receiving emails from it, send an
--
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
---
You received this message because you are subscribed to the Google Groups "Dart Misc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.
tatumizer-v0.2
2016-09-15 00:35:49 UTC
Permalink
Post by Filipe Morgado
I don't think it's that sarcastic!
Then sorry. Taking sarcasm back.
There's a very distinct possibility that dart-supporting browser will come
along, and having found no .dart files, will go away and never come back.

To prevent this, please start shipping .dart files RIGHT NOW!

Is that what you mean?
--
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
---
You received this message because you are subscribed to the Google Groups "Dart Misc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.
Filipe Morgado
2016-09-15 10:38:17 UTC
Permalink
I think you know what I mean. You're just abusing sarcasm again.
Post by tatumizer-v0.2
Post by Filipe Morgado
I don't think it's that sarcastic!
Then sorry. Taking sarcasm back.
There's a very distinct possibility that dart-supporting browser will come
along, and having found no .dart files, will go away and never come back.
To prevent this, please start shipping .dart files RIGHT NOW!
Is that what you mean?
--
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
---
You received this message because you are subscribed to the Google Groups "Dart Misc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.
Loading...