Skip to content

Commit

Permalink
relative base path
Browse files Browse the repository at this point in the history
  • Loading branch information
drbeat committed Jan 1, 2024
1 parent 0f7c5e1 commit dfc41b4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { viteStaticCopy } from 'vite-plugin-static-copy'
import { defineConfig, normalizePath } from 'vite'

export default defineConfig({
base: './',
plugins: [
viteStaticCopy({
targets: [
Expand All @@ -27,4 +28,4 @@ export default defineConfig({
target: 'ES2015',
outDir: normalizePath(path.resolve(__dirname, './build/piccap-frontend/')),
},
})
})

0 comments on commit dfc41b4

Please sign in to comment.