{"id":22648050,"url":"https://github.com/rwaskiewicz/stencil-dist-hydrate-script-sourcemap-warn","last_synced_at":"2025-03-29T06:48:39.878Z","repository":{"id":266175967,"uuid":"627061869","full_name":"rwaskiewicz/stencil-dist-hydrate-script-sourcemap-warn","owner":"rwaskiewicz","description":null,"archived":false,"fork":false,"pushed_at":"2023-04-12T17:58:48.000Z","size":91,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-26T23:03:40.883Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rwaskiewicz.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-12T17:49:53.000Z","updated_at":"2023-04-12T17:50:03.000Z","dependencies_parsed_at":"2024-12-03T00:38:30.220Z","dependency_job_id":"df0d27ce-c498-4dbd-b809-1a9244828ddb","html_url":"https://github.com/rwaskiewicz/stencil-dist-hydrate-script-sourcemap-warn","commit_stats":null,"previous_names":["rwaskiewicz/stencil-dist-hydrate-script-sourcemap-warn"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rwaskiewicz%2Fstencil-dist-hydrate-script-sourcemap-warn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rwaskiewicz%2Fstencil-dist-hydrate-script-sourcemap-warn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rwaskiewicz%2Fstencil-dist-hydrate-script-sourcemap-warn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rwaskiewicz%2Fstencil-dist-hydrate-script-sourcemap-warn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rwaskiewicz","download_url":"https://codeload.github.com/rwaskiewicz/stencil-dist-hydrate-script-sourcemap-warn/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246150409,"owners_count":20731419,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-09T07:40:02.791Z","updated_at":"2025-03-29T06:48:39.851Z","avatar_url":"https://github.com/rwaskiewicz.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Overview\n\nThis repository demonstrates a bug in Stencil v3.2.1 where using the\n`dist-hydrate-script` output target results in the following warning\nwhen building the project:\n\n```\n[ WARN  ]  Bundling Warning SOURCEMAP_ERROR\n           Error when using sourcemap for reporting an error: Can't resolve original location of error.\n```\n\n## Reproducing with this Repo\n1. Clone the repository locally\n2. `npm ci`\n3. `npm run build`\n4. Observe the following output:\n```\n\u003e dist-hydrate-script-sourcemap-warn@0.0.1 build\n\u003e stencil build --docs\n\n[58:06.7]  @stencil/core\n[58:06.8]  v3.2.1 🎙\n[58:07.6]  build, dist-hydrate-script-sourcemap-warn, prod mode, started ...\n[58:07.6]  transpile started ...\n[58:08.6]  transpile finished in 938 ms\n[58:08.6]  generate custom elements + source maps started ...\n[58:08.6]  generate hydrate app started ...\n[58:08.9]  generate custom elements + source maps finished in 377 ms\n[58:08.9]  generate hydrate app finished in 378 ms\n\n[ WARN  ]  Bundling Warning SOURCEMAP_ERROR\n           Error when using sourcemap for reporting an error: Can't resolve original location of error.\n\n[58:08.9]  build finished in 1.33 s\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frwaskiewicz%2Fstencil-dist-hydrate-script-sourcemap-warn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frwaskiewicz%2Fstencil-dist-hydrate-script-sourcemap-warn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frwaskiewicz%2Fstencil-dist-hydrate-script-sourcemap-warn/lists"}