From 1aacca36a29cfd31eb41cd9dadeeca740002ffa5 Mon Sep 17 00:00:00 2001 From: squidfunk Date: Thu, 25 Feb 2021 15:56:08 +0100 Subject: [PATCH] Fixed source mapping URLs --- material/assets/javascripts/bundle.4e3fea51.min.js | 2 +- material/assets/javascripts/workers/search.f5903571.min.js | 2 +- material/overrides/assets/javascripts/bundle.a8da887a.min.js | 2 +- tools/build/transform/index.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) 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` )), )) )