diff --git a/Dockerfile b/Dockerfile index 67fc59f..df74c20 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,9 +25,9 @@ RUN --mount=type=cache,id=ui,target=/root/.yarn \ set -ex; \ \ yarn dlx update-browserslist-db@latest; \ - yarn build --dest /opt/advent22/ui; \ + yarn build --outDir /opt/advent22/ui; \ # exclude webpack-bundle-analyzer output - rm -f /opt/advent22/ui/report.html; + rm -f /opt/advent22/ui/stats.html; ############### diff --git a/ui/.vscode/tasks.json b/ui/.vscode/tasks.json index e5ffa95..65351ad 100644 --- a/ui/.vscode/tasks.json +++ b/ui/.vscode/tasks.json @@ -3,10 +3,21 @@ "tasks": [ { "type": "npm", - "script": "serve", + "script": "dev", "problemMatcher": [], - "label": "UI starten", - "detail": "vue-cli-service serve" + "label": "UI starten" + }, + { + "type": "npm", + "script": "lint", + "problemMatcher": ["$eslint-compact"], + "label": "Linter" + }, + { + "type": "npm", + "script": "format", + "problemMatcher": [], + "label": "Formatter" } ] }