diff options
| author | omagdy7 <omar.professional8777@gmail.com> | 2023-11-05 22:22:37 +0200 |
|---|---|---|
| committer | omagdy7 <omar.professional8777@gmail.com> | 2023-11-05 22:22:37 +0200 |
| commit | 121becd9cf52c735e2d33032873fca8fc6e3db54 (patch) | |
| tree | afcbd0697808faf66d7cb84f2852d979b5da8550 /vite.config.ts | |
| parent | 7c9ade2c19b5b65721918dd291de54bcd4dc805b (diff) | |
| download | ollama-logseq-121becd9cf52c735e2d33032873fca8fc6e3db54.tar.xz ollama-logseq-121becd9cf52c735e2d33032873fca8fc6e3db54.zip | |
Added all the main features of the plugin and also added setting and made the plugin respect themeing
Diffstat (limited to 'vite.config.ts')
| -rw-r--r-- | vite.config.ts | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/vite.config.ts b/vite.config.ts index caecf1c..a350253 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -1,3 +1,4 @@ +import path from "path" import reactPlugin from "@vitejs/plugin-react"; import { defineConfig } from "vite"; import logseqDevPlugin from "vite-plugin-logseq"; @@ -6,8 +7,14 @@ import logseqDevPlugin from "vite-plugin-logseq"; export default defineConfig({ plugins: [logseqDevPlugin(), reactPlugin()], // Makes HMR available for development + resolve: { + alias: { + "@": path.resolve(__dirname, "./src"), + }, + }, build: { target: "esnext", minify: "esbuild", }, }); + |
