mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-11-23 23:21:00 +01:00
Fixed debug launch configurations
This commit is contained in:
parent
dcf5a80ef7
commit
34aad07382
15
.vscode/launch.json
vendored
15
.vscode/launch.json
vendored
@ -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
10
.vscode/tasks.json
vendored
@ -23,8 +23,16 @@
|
||||
"reveal": "silent"
|
||||
},
|
||||
"problemMatcher": {
|
||||
"pattern": [
|
||||
{
|
||||
"regexp": ".",
|
||||
"file": 1,
|
||||
"location": 2,
|
||||
"message": 3
|
||||
}
|
||||
],
|
||||
"background": {
|
||||
"beginsPattern": "material\/templates\/redirect",
|
||||
"beginsPattern": "material\/templates",
|
||||
"endsPattern": "."
|
||||
}
|
||||
}
|
||||
|
@ -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: [
|
||||
|
Loading…
Reference in New Issue
Block a user