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

Try vips package as esm module #754

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Try vips package as esm module #754

wants to merge 1 commit into from

Conversation

swissspidy
Copy link
Owner

@swissspidy swissspidy commented Nov 5, 2024

Does not work yet.

Related: #713

@swissspidy
Copy link
Owner Author

Implement modules similar to how it's done in Gutenberg with package.json

Then use requestToExternalModule in dependency-extraction-webpack-plugin

@swissspidy
Copy link
Owner Author

Does @mexp/vips need to be a module and @mexp/vips-worker a separate one?

What about import maps, is https://github.com/kungfooman/worker-with-import-map needed? See whatwg/html#10858

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.

1 participant