dint-dev / universal_html

Cross-platform 'dart:html'.
https://pub.dev/packages/universal_html
Apache License 2.0
201 stars 60 forks source link

Don't use direct conditional exports for sdk libraries #62

Closed juancastillo0 closed 1 year ago

juancastillo0 commented 2 years ago

Fixes https://github.com/dint-dev/universal_html/issues/48.

Hi, i was having the same issue and this changes fixed it for me, more info in https://github.com/dart-lang/build/issues/3173. You already had the src/_sdk directory with all dart:<library>, so I exported those instead of directly exporting the dart sdk libraries.

Please let me know if there is anything more I can do. Thanks for your work!

rokk4 commented 2 years ago

Please merge this.

terrier989 commented 1 year ago

Thanks for the PR! 👍