Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix SourceMaps when debugging published embroider #944

Merged
merged 1 commit into from
Aug 26, 2021

Commits on Aug 25, 2021

  1. Fix SourceMaps when debugging published embroider

    Currently, our sourcemaps reference the corresponding and non existence source file via
    the sourcemap sources property.
    
    For example:
    
    ```json
    {"version":3,"file":"add-to-tree.js","sourceRoot":"","sources":["add-to-tree.ts"] ...
    ```
    
    Unfortunately, as we do not publish our `.ts` files, debugging tools get
    confused. To address this debugging issue, we now configure TypeScript
    to inline said sources in the sourcemap file.
    stefanpenner committed Aug 25, 2021
    Configuration menu
    Copy the full SHA
    4254725 View commit details
    Browse the repository at this point in the history