tldraw/apps/examples/vite.config.ts

19 lines
354 B
TypeScript
Raw Normal View History

import path from 'path'
import { defineConfig } from 'vite'
export default defineConfig({
root: path.join(__dirname, 'src'),
publicDir: path.join(__dirname, 'public'),
build: {
outDir: path.join(__dirname, 'dist'),
assetsInlineLimit: 0,
},
server: {
port: 5420,
},
clearScreen: false,
optimizeDeps: {
exclude: ['@tldraw/assets'],
},
})