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

Relative handling, import.meta.url encouragement #5

Merged
merged 3 commits into from
Apr 17, 2020

Conversation

guybedford
Copy link
Collaborator

This resolves #3, supporting non-string inputs into new Worker (applying toString per the browser), removing the stack hack, and encouraging the use of import.meta.url in the readme.

We can likely include a reference to the stack approach in the readme note I've added, where I've called out that test and build support may still be an issue with this pattern. Ideally we could start chasing these up via #4.

@guybedford guybedford mentioned this pull request Apr 14, 2020
README.md Outdated Show resolved Hide resolved
@developit
Copy link
Owner

LGTM, figured I'd try to clarify the whole document URL / cwd metaphor, if that's alright.

Co-Authored-By: Jason Miller <[email protected]>
@guybedford
Copy link
Collaborator Author

Great... maybe we can get the local tests running in this pattern too then using your Babel trick?

@developit developit merged commit d004d65 into master Apr 17, 2020
@developit developit deleted the import-meta-url branch April 17, 2020 15:53
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.

Relative URL handling
2 participants