window.URL no emit file
See original GitHub issueClear and concise description of the problem
const metaUrl = new window.URL('./nested/asset.png', import.meta.url)
can’t emit asset
Suggested solution
const metaUrl = window.URL('./nested/asset.png', import.meta.url)
Alternative
No response
Additional context
No response
Validations
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn’t already an issue that request the same feature to avoid creating a duplicate.
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
.tsbuildinfo file should be created when the noEmit flag is ...
we want to call tsc before running jest to not have to deal with tsc's output regarding newly emitted files.
Read more >Typescript noEmit use case - Stack Overflow
What is the use case for noEmit in Typescript? I'm interested because I want to see if I can use this for development...
Read more >TSConfig Reference - Docs on every TSConfig option
Base Url - baseUrl. Lets you set a base directory to resolve non-absolute module names. You can define a root folder where you...
Read more >Using files from web applications - Web APIs - MDN Web Docs
This is just the file name, and does not include any path information. ... const objectURL = window.URL.createObjectURL(fileObj);
Read more >file-loader - webpack - JS.ORG
The file-loader resolves import / require() on a file into a url and emits the ... If false, the loader will return a...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
thanks, should use the isomorphic syntax to support
new URL
, this is better way.Should we close this issue?