mirror of
https://github.com/chathub-dev/chathub.git
synced 2025-09-26 20:31:18 +08:00
16 lines
400 B
TypeScript
16 lines
400 B
TypeScript
import { defineConfig } from 'vite'
|
|
import react from '@vitejs/plugin-react'
|
|
import { crx } from '@crxjs/vite-plugin'
|
|
import tsconfigPaths from 'vite-tsconfig-paths'
|
|
import manifest from './manifest.config'
|
|
|
|
// https://vitejs.dev/config/
|
|
export default defineConfig({
|
|
plugins: [tsconfigPaths(), react(), crx({ manifest })],
|
|
build: {
|
|
rollupOptions: {
|
|
input: ['app.html'],
|
|
},
|
|
},
|
|
})
|