- 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.
24 lines
341 B
JavaScript
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'
|
|
}
|
|
}
|
|
})
|