import { resolve } from 'path'; import { defineConfig } from 'vite'; import vue from '@vitejs/plugin-vue'; import yaml from '@rollup/plugin-yaml'; // https://vitejs.dev/config/ export default defineConfig({ assetsInclude: ['**/*.gpx'], plugins: [vue(), yaml()], build: { rollupOptions: { input: { main: resolve(__dirname, 'index.html'), map: resolve(__dirname, 'map/index.html'), }, }, }, });