feat(main): temporarily host skills.svg
This commit is contained in:
parent
7065c4cc18
commit
91e0e363b0
3 changed files with 3 additions and 2 deletions
1
apps/main/.gitignore
vendored
1
apps/main/.gitignore
vendored
|
@ -10,3 +10,4 @@ node_modules
|
|||
.output
|
||||
vite.config.js.timestamp-*
|
||||
vite.config.ts.timestamp-*
|
||||
skills.svg
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "vite dev",
|
||||
"build": "vite build",
|
||||
"build": "cp ../../packages/content/dist/skills.svg static && vite build",
|
||||
"clean": "rm -rf .svelte-kit .turbo build node_modules vite.config.ts.timestamp-*",
|
||||
"preview": "vite preview",
|
||||
"lint": "eslint ."
|
||||
|
|
|
@ -112,7 +112,7 @@ function generatePortfolioSVGs() {
|
|||
)
|
||||
|
||||
writeToFile(
|
||||
"./dist/public/img/skills.svg",
|
||||
"./dist/skills.svg",
|
||||
optimize(renderedSVG, { multipass: true }).data
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue