Files
Owen/vite.config.js
Kaj Kowalski d3a88787c4 Refactor code for consistency and readability
- Updated import statements to use consistent formatting across files.
- Adjusted method definitions and class constructors for uniform spacing and style.
- Simplified promise handling and error messages in state handlers.
- Enhanced state transition logic in various state handlers.
- Improved quirk animation handling in WaitStateHandler.
- Streamlined animation loading and caching mechanisms in AnimationLoader.
- Updated Vite configuration for aliasing.
2025-05-24 01:14:35 +02:00

24 lines
341 B
JavaScript

import { defineConfig } from 'vite'
export default defineConfig({
root: 'examples',
server: {
port: 3000,
open: true
},
build: {
outDir: '../dist',
emptyOutDir: true,
rollupOptions: {
input: {
main: 'index.html'
}
}
},
resolve: {
alias: {
owen: '/src/index.js'
}
}
})