feat: add speech synthesis demo

This commit is contained in:
yankun
2026-07-30 15:26:57 +08:00
parent cce0b95b7c
commit 6b0a0eede6
19 changed files with 438 additions and 0 deletions
@@ -0,0 +1,17 @@
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
export default defineConfig({
base: './',
publicDir: 'public',
build: { target: ['chrome74'] },
resolve: { alias: { '@': '/src' } },
plugins: [vue()],
optimizeDeps: {
esbuildOptions: {
define: { global: 'globalThis' },
target: 'es2015',
supported: { bigint: true }
}
}
})