Skip to content

Add source map to Responsive-Design workload, generate resources.txt during build - #599

Merged
camillobruni merged 2 commits into
WebKit:mainfrom
mozilla:responsive-design-source-map
Nov 12, 2026
Merged

camillobruni merged 2 commits into
WebKit:mainfrom
mozilla:responsive-design-source-map

Conversation

@mstange

@mstange mstange commented Nov 12, 2026

Copy link
Copy Markdown
Contributor

The Responsive-Design workload didn't have a source map. Also, rebuilding it was discarding resources.txt.

The build deletes dist/ before bundling, so it also deleted the checked-in
resources.txt. Emit it from a Rollup plugin, as the ChatRoom workload does.
Lit's npm packages ship minified code with per-file source maps. Load those
maps during the build so that the bundle's map resolves to Lit's TypeScript
sources.
@netlify

netlify Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for webkit-speedometer-preview ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 2aa7406
🔍 Latest deploy log https://app.netlify.com/projects/webkit-speedometer-preview/deploys/6af5c0d06bba3a02acf2cc9c
😎 Deploy Preview https://deploy-preview-599--webkit-speedometer-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@camillobruni
camillobruni self-requested a review November 12, 2026 14:09
@camillobruni
camillobruni merged commit 7220b05 into WebKit:main Nov 12, 2026
9 checks passed
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.

2 participants