Open rodrigofeijao opened 3 months ago
@bengourley @djskinner @JamesLindsay0 if you could review and get the PR published it would be absolutely great! (happy to improve a few other things in the plugins after that)
@rodrigofeijao in what scenario would that occur? This fix looks good but I'd like to add a test fixture to cover it before we merge
Goal
Sometimes when passing
publicPath
thesource
is not prefixed with/
or./
, it can also happen to be prefixed with../
. This PR improves the regex to also work on those cases.Changeset
source-map-uploader-plugin.js