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>
14 lines
363 B
JavaScript
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')
|
|
}
|
|
}
|
|
}
|
|
})
|