Greg Lowe
2016-10-07 09:14:03 UTC
Hi All,
Now that the packages dir is gone in 1.20, what is the correct way to refer
to resources in dependencies.
i.e. in the past I could add the following to an html file to import a
script from the foo package:
<script src="packages/foo/bar.js"><script>
This doesn't work with 1.20 anymore as the packages dir does not exist. I
can fix this via pub get --packages-dir.
However I'm wondering what the "official" solution for this is.
Cheers,
Greg.
Now that the packages dir is gone in 1.20, what is the correct way to refer
to resources in dependencies.
i.e. in the past I could add the following to an html file to import a
script from the foo package:
<script src="packages/foo/bar.js"><script>
This doesn't work with 1.20 anymore as the packages dir does not exist. I
can fix this via pub get --packages-dir.
However I'm wondering what the "official" solution for this is.
Cheers,
Greg.
--
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.
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.