Skip to content

Commit

Permalink
Fixed source mapping URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
squidfunk committed Feb 25, 2021
1 parent c061923 commit 1aacca3
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion material/assets/javascripts/bundle.4e3fea51.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion material/assets/javascripts/workers/search.f5903571.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tools/build/transform/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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`
)),
))
)
Expand Down

0 comments on commit 1aacca3

Please sign in to comment.