Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(sourcemaps): Fix inline source map regex match pattern if no tags…
… in match string. (#241) Regex was: `const inlineSourceMapRegex = /\/\/# sourceMappingURL=data:application\/json;.*;base64,(.*)$/gm;` Now: `const inlineSourceMapRegex = /\/\/# sourceMappingURL=data:application\/json;.*base64,(.*)$/gm;` Remove the semicolon before base64. Check that the results of mapFileName.split found /scripts/ before indexing the array.
- Loading branch information