mirror of
https://github.com/arc53/DocsGPT.git
synced 2025-12-01 17:43:15 +00:00
widget init
This commit is contained in:
19
extensions/widget-new/chat-widget/vite.config.js
Normal file
19
extensions/widget-new/chat-widget/vite.config.js
Normal file
@@ -0,0 +1,19 @@
|
||||
import { defineConfig } from 'vite'
|
||||
import react from '@vitejs/plugin-react'
|
||||
|
||||
// // https://vitejs.dev/config/
|
||||
// export default defineConfig({
|
||||
// plugins: [react()],
|
||||
// })
|
||||
|
||||
|
||||
import path from "path"
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [react()],
|
||||
resolve: {
|
||||
alias: {
|
||||
"@": path.resolve(__dirname, "./src"),
|
||||
},
|
||||
},
|
||||
})
|
||||
Reference in New Issue
Block a user