feat(main): temporarily host skills.svg

This commit is contained in:
Kim, Jimin 2023-07-07 21:24:53 +09:00
parent 7065c4cc18
commit 91e0e363b0
3 changed files with 3 additions and 2 deletions

View file

@ -10,3 +10,4 @@ node_modules
.output .output
vite.config.js.timestamp-* vite.config.js.timestamp-*
vite.config.ts.timestamp-* vite.config.ts.timestamp-*
skills.svg

View file

@ -5,7 +5,7 @@
"private": true, "private": true,
"scripts": { "scripts": {
"dev": "vite dev", "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-*", "clean": "rm -rf .svelte-kit .turbo build node_modules vite.config.ts.timestamp-*",
"preview": "vite preview", "preview": "vite preview",
"lint": "eslint ." "lint": "eslint ."

View file

@ -112,7 +112,7 @@ function generatePortfolioSVGs() {
) )
writeToFile( writeToFile(
"./dist/public/img/skills.svg", "./dist/skills.svg",
optimize(renderedSVG, { multipass: true }).data optimize(renderedSVG, { multipass: true }).data
) )
} }