Comments (12)
I think stale bot might have been a bit too keen to close this issue. I would still very much like to have source maps for my worker scripts
from workers-sdk.
This would be a very welcome feature 💯
Not using sourcemaps makes working with workers harder than it has to be.
from workers-sdk.
In wrangler dev we should make webpack always generate a sourcemap, serve it with a new local HTTP server and inject a sourceMappingURL
in the worker that points locally.
When the worker runtime will load the worker it will send that source map URL to the devtools that it can download from the user endpoint.
from workers-sdk.
Tracked in #1509
and closed in #1535
from workers-sdk.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
from workers-sdk.
@xtuc would we need cloudflared for that to expose the local source map to the public internet?
from workers-sdk.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
from workers-sdk.
This would make it also easier to debug exceptions thrown from minified workers 👍🏻
from workers-sdk.
Miniflare seems to have source maps https://miniflare.dev/source-maps.html. And it's now a part of cloudflare.
from workers-sdk.
would love for source maps to be kept when cloudflare minifies the js
from workers-sdk.
Transferred from Wrangler 1 repo to track supporting source-maps for Workers.
from workers-sdk.
Thanks
from workers-sdk.
Related Issues (20)
- 🚀 Feature Request: Worker fetch will not use the system proxy
- user-defined aliases should take precedence over unenv polyfills
- 🚀 Feature Request: Ability to upload secrets with Worker script contents
- 🐛 BUG: D1 export corrupts data in X strings
- 🐛 BUG: wrangler pages deploy => Command failed: git rev-parse --abbrev-ref HEAD
- 🐛 BUG: C3 init from git differs from `generate` behaviour
- 🐛 BUG: import issue of packages with `workerd` runtime key[vitest-pool-workers]
- 🐛 BUG: Build Requests `account_id` in Wrangler.toml but fails with `account_id` HOT 3
- 🐛 BUG: request.signal is not aborted when the request is cancelled HOT 4
- add explicit documentation regarding wrangler v2 support
- 🚀 Feature Request: Inconsistent naming when creating new KV, D1, R2 resources
- 🐛 BUG: When I run "npx wrangler types --env-interface CloudflareBindings" while using jsx in my entrypoint I get a parse error. HOT 1
- `wrangler d1 insights` needs tests
- chipbot
- 🐛 BUG: boolean values are being saved as string in local d1 instance - not converted into 1 or 0
- 🐛 BUG: multiple custom domains cause api failures HOT 1
- 🚀 Feature Request: Allow arbitrary unauthorized self-signed certificates HOT 1
- 🐛 BUG: `getPlatformProxy` does not accept Node `ReadableStream`s HOT 1
- 🐛 BUG: Wrangler leaves orphaned processes after failing to bind to port HOT 1
- 🚀 Feature Request: RPC support in `wrangler types` HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from workers-sdk.