mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-11-13 18:40:54 +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",
|
"--disable-features=Translate",
|
||||||
"--incognito"
|
"--incognito"
|
||||||
],
|
],
|
||||||
|
"preLaunchTask": "Start and watch for changes",
|
||||||
"url": "http://localhost:8000/mkdocs-material/",
|
"url": "http://localhost:8000/mkdocs-material/",
|
||||||
"webRoot": "${workspaceFolder}",
|
"webRoot": "${workspaceFolder}",
|
||||||
|
"sourceMaps": true,
|
||||||
|
"sourceMapPathOverrides": {
|
||||||
|
"*": "${workspaceFolder}/*"
|
||||||
|
},
|
||||||
"smartStep": true
|
"smartStep": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -46,5 +51,15 @@
|
|||||||
"PYTHONPATH": "."
|
"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"
|
"reveal": "silent"
|
||||||
},
|
},
|
||||||
"problemMatcher": {
|
"problemMatcher": {
|
||||||
|
"pattern": [
|
||||||
|
{
|
||||||
|
"regexp": ".",
|
||||||
|
"file": 1,
|
||||||
|
"location": 2,
|
||||||
|
"message": 3
|
||||||
|
}
|
||||||
|
],
|
||||||
"background": {
|
"background": {
|
||||||
"beginsPattern": "material\/templates\/redirect",
|
"beginsPattern": "material\/templates",
|
||||||
"endsPattern": "."
|
"endsPattern": "."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -171,7 +171,6 @@ export function transformScript(
|
|||||||
write: false,
|
write: false,
|
||||||
bundle: true,
|
bundle: true,
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
sourceRoot: path.relative(path.dirname(options.from), "."),
|
|
||||||
legalComments: "inline",
|
legalComments: "inline",
|
||||||
minify: process.argv.includes("--optimize"),
|
minify: process.argv.includes("--optimize"),
|
||||||
plugins: [
|
plugins: [
|
||||||
|
Loading…
Reference in New Issue
Block a user