cozy-games/apps/mnswpr/vite.config.js
Ayo 969ebba067 chore: restructure to new cozy-games monorepo
Reviewed-on: https://git.ayo.run/ayo/cozy-games/pulls/1
Co-authored-by: Ayo <ayo@ayco.io>
Co-committed-by: Ayo <ayo@ayco.io>
2026-07-03 13:53:13 +00:00

14 lines
363 B
JavaScript

import { resolve } from 'node:path'
import { defineConfig } from 'vite'
// Multi-page build: the game (index.html) and the frozen Legends page.
export default defineConfig({
build: {
rollupOptions: {
input: {
main: resolve(import.meta.dirname, 'index.html'),
legends: resolve(import.meta.dirname, 'legends.html')
}
}
}
})