diff --git a/material/assets/javascripts/bundle.4e3fea51.min.js b/material/assets/javascripts/bundle.4e3fea51.min.js index a0a430c9f..ef1670339 100644 --- a/material/assets/javascripts/bundle.4e3fea51.min.js +++ b/material/assets/javascripts/bundle.4e3fea51.min.js @@ -28,5 +28,5 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ***************************************************************************** */ -//# sourceMappingURL=bundle.4e3fea51.min.js +//# sourceMappingURL=bundle.4e3fea51.min.js.map diff --git a/material/assets/javascripts/workers/search.f5903571.min.js b/material/assets/javascripts/workers/search.f5903571.min.js index 8fc84e5c9..41f69cd5e 100644 --- a/material/assets/javascripts/workers/search.f5903571.min.js +++ b/material/assets/javascripts/workers/search.f5903571.min.js @@ -57,5 +57,5 @@ * Copyright (C) 2020 Oliver Nightingale * @license MIT */ -//# sourceMappingURL=search.f5903571.min.js +//# sourceMappingURL=search.f5903571.min.js.map diff --git a/material/overrides/assets/javascripts/bundle.a8da887a.min.js b/material/overrides/assets/javascripts/bundle.a8da887a.min.js index 135c0f253..ecf4562f8 100644 --- a/material/overrides/assets/javascripts/bundle.a8da887a.min.js +++ b/material/overrides/assets/javascripts/bundle.a8da887a.min.js @@ -15,5 +15,5 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ***************************************************************************** */ -//# sourceMappingURL=bundle.a8da887a.min.js +//# sourceMappingURL=bundle.a8da887a.min.js.map diff --git a/tools/build/transform/index.ts b/tools/build/transform/index.ts index 4eb6b19bc..868cae795 100644 --- a/tools/build/transform/index.ts +++ b/tools/build/transform/index.ts @@ -183,7 +183,7 @@ export function transformScript( fs.writeFile(`${file}.map`, map), fs.writeFile(`${file}`, js.replace( /(sourceMappingURL=)(.*)/, - `$1${path.basename(file)}\n` + `$1${path.basename(file)}.map\n` )), )) )