stencil
stencil copied to clipboard
bug: Bundling Warning SOURCEMAP_BROKEN if web-worker is used
Prerequisites
- [X] I have read the Contributing Guidelines.
- [X] I agree to follow the Code of Conduct.
- [X] I have searched for existing issues that already report this problem, without success.
Stencil Version
v2.17.1
Current Behavior
If i use a webworker, i get this warning by building the component.
[ WARN ] Bundling Warning SOURCEMAP_BROKEN
Sourcemap is likely to be incorrect: a plugin (workerPlugin) was used to transform files, but didn't
generate a sourcemap for the transformation. Consult the plugin documentation for help
Expected Behavior
No warning if i use a webworker on build. Maybe the problem is that stenciljs generates a sourcemap for webworker?
Steps to Reproduce
enable sourceMap: true, in stencil.config
import a webWorker in your component
run "npm install"
run "npm run build"
Code Reproduction URL
https://github.com/Scan0815/stencil-source-map-error
Additional Information
No response
Thanks @Scan0815! I can confirm that this bug is present. I'm going to label it to get it ingested into our backlog
any update on this issue?
This bug is acting as a blocker, Any updates?
Hey folks,
Please do me a favor and add 👍's to the issue summary to upvote it instead of "+1" style comments/asking for updates. GitHub doesn't give us an easy way to track those types of comments, which makes them more likely to not be properly counted when we prioritize issues.
Thanks!
@rwaskiewicz is ther a light at the end of tunnel :) i test it with the new release of stenceljs. Problem is still exists....