diff options
Diffstat (limited to 'vite.config.ts')
| -rw-r--r-- | vite.config.ts | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/vite.config.ts b/vite.config.ts new file mode 100644 index 0000000..caecf1c --- /dev/null +++ b/vite.config.ts @@ -0,0 +1,13 @@ +import reactPlugin from "@vitejs/plugin-react"; +import { defineConfig } from "vite"; +import logseqDevPlugin from "vite-plugin-logseq"; + +// https://vitejs.dev/config/ +export default defineConfig({ + plugins: [logseqDevPlugin(), reactPlugin()], + // Makes HMR available for development + build: { + target: "esnext", + minify: "esbuild", + }, +}); |
