Skip to content

Commit

Permalink
chore: update build config
Browse files Browse the repository at this point in the history
  • Loading branch information
devhaozi committed Dec 20, 2024
1 parent 0bea527 commit ef60a44
Show file tree
Hide file tree
Showing 4 changed files with 280 additions and 4 deletions.
1 change: 1 addition & 0 deletions internal/embed/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
frontend
2 changes: 0 additions & 2 deletions internal/embed/frontend/.gitignore

This file was deleted.

6 changes: 4 additions & 2 deletions web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,13 @@
},
"scripts": {
"dev": "vite",
"build": "run-p type-check build-only",
"build": "run-p type-check build-only copy",
"preview": "vite preview",
"build-only": "vite build",
"type-check": "vue-tsc --build --force",
"lint": "eslint . --fix",
"format": "prettier --write src/"
"format": "prettier --write src/",
"copy": "cpx \"dist/**/*\" \"../internal/embed/frontend\" -C"
},
"dependencies": {
"@eslint/eslintrc": "^3.2.0",
Expand Down Expand Up @@ -65,6 +66,7 @@
"@vue/eslint-config-typescript": "^14.1.3",
"@vue/tsconfig": "^0.7.0",
"colord": "^2.9.3",
"cpx2": "^8.0.0",
"eslint": "^9.15.0",
"eslint-plugin-vue": "^9.31.0",
"md-editor-v3": "^5.0.2",
Expand Down
Loading

0 comments on commit ef60a44

Please sign in to comment.