We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b5e3774 commit 30a6a77Copy full SHA for 30a6a77
packages/react-interval-hook/vite.config.ts
@@ -4,6 +4,7 @@ import react from '@vitejs/plugin-react';
4
import viteTsConfigPaths from 'vite-tsconfig-paths';
5
import dts from 'vite-plugin-dts';
6
import { joinPathFragments } from '@nx/devkit';
7
+import { viteStaticCopy } from "vite-plugin-static-copy";
8
9
// Get current project relative path and strip initial slash / backslash
10
const projectPath = __dirname.replace(process.cwd(), '').substring(1);
@@ -21,6 +22,14 @@ export default defineConfig({
21
22
viteTsConfigPaths({
23
root: '../../',
24
}),
25
+ viteStaticCopy({
26
+ targets: [
27
+ {
28
+ src: '*.md',
29
+ dest: '.',
30
+ },
31
+ ],
32
+ }),
33
],
34
35
// Uncomment this if you are using workers.
0 commit comments