Fixed debugger

This commit is contained in:
squidfunk 2022-11-12 17:25:15 +01:00
parent 4d8a158b12
commit 2271427709
5 changed files with 5 additions and 5 deletions

2
.vscode/launch.json vendored
View File

@ -10,7 +10,7 @@
"--incognito"
],
"url": "http://localhost:8000/mkdocs-material/",
"webRoot": ".",
"webRoot": "${workspaceFolder}",
"smartStep": true
}
]

View File

@ -243,7 +243,7 @@
</script>
{% endblock %}
{% block scripts %}
<script src="{{ 'assets/javascripts/bundle.bde97ade.min.js' | url }}"></script>
<script src="{{ 'assets/javascripts/bundle.3fdbbf21.min.js' | url }}"></script>
{% for path in config.extra_javascript %}
<script src="{{ path | url }}"></script>
{% endfor %}

View File

@ -171,7 +171,7 @@ export function transformScript(
write: false,
bundle: true,
sourcemap: true,
sourceRoot: "../../../..",
sourceRoot: path.relative(path.dirname(options.from), "."),
legalComments: "inline",
minify: process.argv.includes("--optimize"),
plugins: [