plyr icon indicating copy to clipboard operation
plyr copied to clipboard

Dist files include links to non-existing sourceMaps

Open codingjoe opened this issue 1 year ago • 1 comments

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 avatar Jan 12 '24 20:01 codingjoe

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

codingjoe avatar Feb 03 '24 14:02 codingjoe