- Created package.json for Wails JavaScript runtime library. - Added TypeScript definitions for runtime functions. - Implemented runtime.js with event handling and logging functions. - Initialized Go module with dependencies for Wails and other libraries. - Added main.go for application entry point and asset embedding. - Configured wails.json for application settings and build commands.
12 lines
248 B
TypeScript
12 lines
248 B
TypeScript
import { defineConfig } from 'vite'
|
|
|
|
export default defineConfig(async () => {
|
|
const reactPlugin = (await import('@vitejs/plugin-react')).default
|
|
return {
|
|
plugins: [reactPlugin()],
|
|
build: {
|
|
outDir: '../frontend/dist'
|
|
}
|
|
}
|
|
})
|