Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(package_info_plus): Use js_interop instead of html to support compilation to WASM #2625

Merged
merged 1 commit into from
Feb 29, 2024

Conversation

vbuberen
Copy link
Collaborator

@vbuberen vbuberen commented Feb 29, 2024

Description

Opening as a replacement for #2622 as there the author couldn't explain clearly why that change was needed in the PR description.

Despite the fact that package_info_plus already migrated to package web in November in #2316 it was still not fully compatible with WASM according to point 1 here: https://dart.dev/interop/js-interop/package-web#package-web-vs-dart-html

There is a suggestion on how imports need to be modified to support WASM compilation: https://dart.dev/interop/js-interop/package-web#conditional-imports

Change in this PR is based on that suggestion.

Related Issues

It was briefly mentioned in #2623 but had poor title and explanation.

Breaking Change

Does your PR require plugin users to manually update their apps to accommodate your change?

  • Yes, this is a breaking change (please indicate that with a ! in the title as explained in Conventional Commits).
  • No, this is not a breaking change.

@vbuberen vbuberen added the package_info_plus stuff related to package_info_plus label Feb 29, 2024
@vbuberen vbuberen merged commit c943583 into main Feb 29, 2024
21 checks passed
@vbuberen vbuberen deleted the feat/js_interop branch February 29, 2024 09:17
suquant pushed a commit to suquant/plus_plugins that referenced this pull request Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package_info_plus stuff related to package_info_plus
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants