Added Chrome launch configuration and fixed source map roots

This commit is contained in:
squidfunk
2021-12-02 19:15:40 +01:00
parent ebcd000fdc
commit 122be2ec46
13 changed files with 66 additions and 8 deletions

17
.vscode/launch.json vendored Normal file
View File

@@ -0,0 +1,17 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Application",
"type": "pwa-chrome",
"request": "launch",
"runtimeArgs": [
"--disable-features=Translate",
"--incognito"
],
"url": "http://localhost:8000/mkdocs-material/",
"webRoot": ".",
"smartStep": true
}
]
}

11
.vscode/settings.json vendored Normal file
View File

@@ -0,0 +1,11 @@
{
"git.ignoreLimitWarning": true,
"search.exclude": {
"**/material": true,
"**/node_modules": true,
"**/package-lock.json": true
},
"search.followSymlinks": false,
"stylelint.validate": ["css", "scss"],
"typescript.tsdk": "node_modules/typescript/lib"
}

27
.vscode/tasks.json vendored Normal file
View File

@@ -0,0 +1,27 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "Build",
"type": "shell",
"command": "npm run build",
"group": "build",
"presentation": {
"reveal": "silent"
},
"problemMatcher": [
"$tsc"
]
},
{
"label": "Start and watch for changes",
"type": "shell",
"command": "npm start",
"isBackground": true,
"group": "build",
"presentation": {
"reveal": "silent"
}
}
]
}