mirror of
https://github.com/block/goose.git
synced 2026-04-29 03:59:36 +00:00
16 lines
369 B
TypeScript
16 lines
369 B
TypeScript
import { defineConfig } from 'vite';
|
|
import tailwindcss from '@tailwindcss/vite';
|
|
|
|
// https://vitejs.dev/config
|
|
export default defineConfig({
|
|
define: {
|
|
// This replaces process.env.ALPHA with a literal at build time
|
|
'process.env.ALPHA': JSON.stringify(process.env.ALPHA === 'true'),
|
|
},
|
|
|
|
plugins: [tailwindcss()],
|
|
|
|
build: {
|
|
target: 'esnext'
|
|
},
|
|
});
|