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

Align API interface #8

Closed
kungfooman opened this issue Jul 18, 2024 · 0 comments · Fixed by #9
Closed

Align API interface #8

kungfooman opened this issue Jul 18, 2024 · 0 comments · Fixed by #9
Assignees
Labels
enhancement New feature or request

Comments

@kungfooman
Copy link
Owner

I want to follow: guybedford/import-maps-extensions#21

To be specific:

new Worker(path, {
  type: 'module',
  importMap: 'inherit'
});

I just have to fix this:

https://github.com/kungfooman/esm-worker/blob/f19a32ea46c46c0bd3df4f9d7a4059dbf3dd73d7/src/WorkerWithImportMapViaInlineFrame.js#L3-L17

I don't care too much about non-inheritance (yet), just makes the most obvious case work.

@kungfooman kungfooman added the enhancement New feature or request label Jul 18, 2024
@kungfooman kungfooman self-assigned this Jul 18, 2024
@kungfooman kungfooman mentioned this issue Jul 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant