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

Inserting type and main into package.json for flow-web #1371

Merged
merged 1 commit into from
Feb 9, 2024

Conversation

travjenkins
Copy link
Member

@travjenkins travjenkins commented Feb 8, 2024

Description:
To import flow-web into vitest we need to set the type and main in the package.json file. Right now wasm-pack is not including these but there is a PR has merged that should fix this.

Also hard cording the name for the output to flow_web to ensure these new props are set correctly.

Workflow steps:

N/A

Documentation links affected:

N/A

Notes for reviewers:

As called out in the comment in the YAML - this is kind of hacky but is a known hack that folks have been doing to work around the issue. We should probably keep an eye on wasm-pack to see when it releases a new version (hopefully with the fix for this)


This change is Reviewable

Hard coding the name the file should use to ensure it matches expectations
@travjenkins travjenkins requested a review from psFried February 8, 2024 21:17
Copy link
Member

@psFried psFried left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@travjenkins travjenkins merged commit decc488 into master Feb 9, 2024
5 checks passed
@travjenkins travjenkins deleted the travjenkins/updateFlowWebPackage branch August 21, 2024 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants