* chore: add swift helper * chore: separate out types into types pkg * chore: only build apps/www for now * chore: don't build swift helper as part of pnpm i * chore: fix system audio mute and restore + resources embedding * chore: resolve merge conflicts
26 lines
553 B
TypeScript
26 lines
553 B
TypeScript
import { defineConfig } from 'vite';
|
|
import { resolve } from 'path';
|
|
// https://vitejs.dev/config
|
|
export default defineConfig(async () => {
|
|
// @ts-ignore
|
|
const { default: tailwindcss } = await import('@tailwindcss/vite');
|
|
|
|
return {
|
|
plugins: [tailwindcss()],
|
|
resolve: {
|
|
alias: {
|
|
'@': resolve(__dirname, 'src'),
|
|
},
|
|
},
|
|
optimizeDeps: {
|
|
exclude: ['better-sqlite3'],
|
|
},
|
|
build: {
|
|
rollupOptions: {
|
|
input: {
|
|
main: resolve(__dirname, 'fab.html'),
|
|
},
|
|
},
|
|
},
|
|
};
|
|
});
|