google / ansicolor-dart

Apache License 2.0
104 stars 26 forks source link

Add Wasm support #31

Closed h1376h closed 2 months ago

h1376h commented 2 months ago

Since dart:html is not supported when compiling to Wasm, the correct alternative now is to use dart.library.js_interop to differentiate between native and web

Source: https://dart.dev/interop/js-interop/package-web

google-cla[bot] commented 2 months ago

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

jtmcdole commented 2 months ago

Thank you!

jtmcdole commented 1 month ago

published at 2.0.3 https://pub.dev/packages/ansicolor