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

Dist files include links to non-existing sourceMaps #2767

Open
codingjoe opened this issue Jan 12, 2024 · 1 comment
Open

Dist files include links to non-existing sourceMaps #2767

codingjoe opened this issue Jan 12, 2024 · 1 comment

Comments

@codingjoe
Copy link
Sponsor

codingjoe commented Jan 12, 2024

Expected behaviour

The non-minified files, should not point to a source map.

Actual behaviour

Currently, non-minified dist files point to a non-existing file.

Steps to reproduce

Just check the last line of dist/plyr.js.

//# sourceMappingURL=plyr.js.map

You can use the following command to verify the issue:

tail -n 1 dist/plyr.js && ls dist/plyr.js.map 
>>> //# sourceMappingURL=plyr.js.map
>>> ls: dist/plyr.js.map: No such file or directory
@codingjoe
Copy link
Sponsor Author

@sampotts I'd be happy to provide a patch should you be interested.

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

1 participant