Skip to content

Commit c65863b

Browse files
authored
Fix static copy so attribution in About dialog works again. (#137)
1 parent c068576 commit c65863b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

vite.config.mts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,13 @@ import { defineConfig } from "vite";
44
import { viteStaticCopy } from "vite-plugin-static-copy";
55
import react from "@vitejs/plugin-react";
66
import tsconfigPaths from "vite-tsconfig-paths";
7-
import path from "path";
87

98
export default defineConfig({
109
plugins: [react(), tsconfigPaths(), viteStaticCopy({
1110
targets: [
1211
{
13-
src: path.resolve(__dirname, './oss-attribution') + '/**/*',
14-
dest: "./public",
12+
src: 'oss-attribution/**/*',
13+
dest: "./",
1514
},
1615
],
1716
}),

0 commit comments

Comments
 (0)