Giter Site home page Giter Site logo

Comments (12)

mroderick avatar mroderick commented on August 17, 2024 15

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.

mroderick avatar mroderick commented on August 17, 2024 3

This would be a very welcome feature 💯

Not using sourcemaps makes working with workers harder than it has to be.

from workers-sdk.

xtuc avatar xtuc commented on August 17, 2024 3

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.

cameron-robey avatar cameron-robey commented on August 17, 2024 1

Tracked in #1509
and closed in #1535

from workers-sdk.

stale avatar stale commented on August 17, 2024

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.

EverlastingBugstopper avatar EverlastingBugstopper commented on August 17, 2024

@xtuc would we need cloudflared for that to expose the local source map to the public internet?

from workers-sdk.

stale avatar stale commented on August 17, 2024

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.

manniL avatar manniL commented on August 17, 2024

This would make it also easier to debug exceptions thrown from minified workers 👍🏻

from workers-sdk.

johnpangalos avatar johnpangalos commented on August 17, 2024

Miniflare seems to have source maps https://miniflare.dev/source-maps.html. And it's now a part of cloudflare.

from workers-sdk.

dorianmariecom avatar dorianmariecom commented on August 17, 2024

would love for source maps to be kept when cloudflare minifies the js

from workers-sdk.

petebacondarwin avatar petebacondarwin commented on August 17, 2024

Transferred from Wrangler 1 repo to track supporting source-maps for Workers.

from workers-sdk.

dorianmariecom avatar dorianmariecom commented on August 17, 2024

Thanks

from workers-sdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.