mirror of
https://github.com/thomiceli/opengist.git
synced 2026-08-07 07:14:49 +00:00
dc43fccc04
Go CI / Lint (push) Has been cancelled
Go CI / Check (push) Has been cancelled
Go CI / Test (mysql, 1.23, mysql:8, ubuntu-latest, 3306:3306) (push) Has been cancelled
Go CI / Test (postgres, 1.23, postgres:16, ubuntu-latest, 5432:5432) (push) Has been cancelled
Go CI / Test (sqlite, 1.23, macOS-latest) (push) Has been cancelled
Go CI / Test (sqlite, 1.23, ubuntu-latest) (push) Has been cancelled
Go CI / Test (sqlite, 1.23, windows-latest) (push) Has been cancelled
Go CI / Build (1.23, macOS-latest) (push) Has been cancelled
Go CI / Build (1.23, ubuntu-latest) (push) Has been cancelled
Go CI / Build (1.23, windows-latest) (push) Has been cancelled
25 lines
602 B
JavaScript
Vendored
25 lines
602 B
JavaScript
Vendored
import { defineConfig } from 'vite'
|
|
|
|
export default defineConfig({
|
|
root: './public',
|
|
|
|
build: {
|
|
// generate manifest.json in outDir
|
|
outDir: '',
|
|
assetsDir: 'assets',
|
|
manifest: true,
|
|
rollupOptions: {
|
|
input: [
|
|
'./public/main.ts',
|
|
'./public/editor.ts',
|
|
'./public/admin.ts',
|
|
'./public/gist.ts',
|
|
'./public/embed.ts',
|
|
'./public/webauthn.ts',
|
|
'./public/style_preferences.ts'
|
|
]
|
|
},
|
|
assetsInlineLimit: 0,
|
|
}
|
|
})
|