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" "--incognito"
], ],
"url": "http://localhost:8000/mkdocs-material/", "url": "http://localhost:8000/mkdocs-material/",
"webRoot": ".", "webRoot": "${workspaceFolder}",
"smartStep": true "smartStep": true
} }
] ]

View File

@ -243,7 +243,7 @@
</script> </script>
{% endblock %} {% endblock %}
{% block scripts %} {% 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 %} {% for path in config.extra_javascript %}
<script src="{{ path | url }}"></script> <script src="{{ path | url }}"></script>
{% endfor %} {% endfor %}

View File

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