diff options
| author | omagdy7 <omar.professional8777@gmail.com> | 2023-11-03 17:57:35 +0200 |
|---|---|---|
| committer | omagdy7 <omar.professional8777@gmail.com> | 2023-11-03 17:57:35 +0200 |
| commit | dd4299a4de8a31802a4551d631c67836484d9699 (patch) | |
| tree | bae16e70a7000533316b01ae30e8982d20255d51 /vite.config.ts | |
| parent | 189d9e8173049aac2cb9f0aea923e339bfc76de7 (diff) | |
| download | ollama-logseq-dd4299a4de8a31802a4551d631c67836484d9699.tar.xz ollama-logseq-dd4299a4de8a31802a4551d631c67836484d9699.zip | |
Moved to react instead of vanilla js and added the basic skeleton of the plgin
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", + }, +}); |
