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

Provided sourcemaps reference the src folder which isn't distributed #56

Closed
cicloon opened this issue Apr 9, 2021 · 3 comments
Closed

Comments

@cicloon
Copy link

cicloon commented Apr 9, 2021

Hi, I just noticed the sourcemaps published by the package aren't usable as they reference the src folder, which isn't present in the distributed package, for example:

{"version":3,"file":"helpers.js","sourceRoot":"","sources":["../../src/helpers.ts"]...

This breaks packages that try to extract source-maps like https://github.com/webpack-contrib/source-map-loader or make they to don't work correctly.

@crimx
Copy link
Owner

crimx commented Apr 9, 2021

Will this issue be fixed if we include the src folder in the distributed package?

@cicloon
Copy link
Author

cicloon commented Apr 9, 2021 via email

@crimx
Copy link
Owner

crimx commented Jun 11, 2021

Published.

@crimx crimx closed this as completed Jun 11, 2021
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

No branches or pull requests

2 participants