mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2026-07-31 01:48:20 -04:00
Fixed source mapping URLs
This commit is contained in:
@@ -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`
|
||||
)),
|
||||
))
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user