mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Fixed source mapping URLs
This commit is contained in:
parent
c061923b70
commit
1aacca36a2
@ -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
|
||||
|
||||
|
@ -57,5 +57,5 @@
|
||||
* Copyright (C) 2020 Oliver Nightingale
|
||||
* @license MIT
|
||||
*/
|
||||
//# sourceMappingURL=search.f5903571.min.js
|
||||
//# sourceMappingURL=search.f5903571.min.js.map
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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`
|
||||
)),
|
||||
))
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user