stencil icon indicating copy to clipboard operation
stencil copied to clipboard

bug: Bundling Warning SOURCEMAP_BROKEN if web-worker is used

Open Scan0815 opened this issue 2 years ago • 8 comments

Prerequisites

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

Scan0815 avatar Jul 19 '22 12:07 Scan0815

Thanks @Scan0815! I can confirm that this bug is present. I'm going to label it to get it ingested into our backlog

rwaskiewicz avatar Jul 20 '22 18:07 rwaskiewicz

any update on this issue?

krishna-koushik avatar Apr 20 '23 16:04 krishna-koushik

This bug is acting as a blocker, Any updates?

parmeet1402 avatar May 02 '23 20:05 parmeet1402

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 avatar May 03 '23 17:05 rwaskiewicz

@rwaskiewicz is ther a light at the end of tunnel :) i test it with the new release of stenceljs. Problem is still exists....

Scan0815 avatar Dec 21 '23 14:12 Scan0815