1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-09-23 19:08:25 +02:00

Fixed debug launch configurations

This commit is contained in:
squidfunk 2023-10-05 15:44:24 +02:00
parent dcf5a80ef7
commit 34aad07382
No known key found for this signature in database
GPG Key ID: 5ED40BC4F9C436DF
3 changed files with 24 additions and 2 deletions

15
.vscode/launch.json vendored
View File

@ -9,8 +9,13 @@
"--disable-features=Translate",
"--incognito"
],
"preLaunchTask": "Start and watch for changes",
"url": "http://localhost:8000/mkdocs-material/",
"webRoot": "${workspaceFolder}",
"sourceMaps": true,
"sourceMapPathOverrides": {
"*": "${workspaceFolder}/*"
},
"smartStep": true
},
{
@ -46,5 +51,15 @@
"PYTHONPATH": "."
}
}
],
"compounds": [
{
"name": "Application + MkDocs server",
"configurations": ["Application", "MkDocs server"]
},
{
"name": "Application + MkDocs server (dirty)",
"configurations": ["Application", "MkDocs server (dirty)"]
}
]
}

10
.vscode/tasks.json vendored
View File

@ -23,8 +23,16 @@
"reveal": "silent"
},
"problemMatcher": {
"pattern": [
{
"regexp": ".",
"file": 1,
"location": 2,
"message": 3
}
],
"background": {
"beginsPattern": "material\/templates\/redirect",
"beginsPattern": "material\/templates",
"endsPattern": "."
}
}

View File

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