TA159

Notas, resueltos y trabajos practicos de la materia Sistemas Gráficos
Index Commits Files Refs Submodules README LICENSE
tp/vite.config.mjs (617B)
   1 import { resolve } from 'path'
   2 import { defineConfig } from 'vite'
   3 
   4 export default defineConfig({
   5     build: {
   6         rollupOptions: {
   7             input: {
   8                 main:      resolve(__dirname, 'index.html'),
   9                 bridge:    resolve(__dirname, 'bridge.html'),
  10                 rails:     resolve(__dirname, 'rails.html'),
  11                 scene:     resolve(__dirname, 'scene.html'),
  12                 terrain:   resolve(__dirname, 'terrain.html'),
  13                 trackMap: resolve(__dirname, 'track-map.html'),
  14                 train:     resolve(__dirname, 'train.html'),
  15                 trees:     resolve(__dirname, 'trees.html'),
  16                 tunnel:    resolve(__dirname, 'tunnel.html')
  17             },
  18         },
  19     },
  20     base: "./",
  21 })