- Added OwenSystemFactory for creating the animation system. - Introduced OwenAnimationContext to manage animations and states. - Created AnimationLoader and GLTFAnimationLoader for loading animations. - Developed state handlers: WaitStateHandler, ReactStateHandler, TypeStateHandler, SleepStateHandler. - Implemented StateFactory for managing state handlers. - Defined constants for clip types, states, and emotions. - Added type definitions for TypeScript support. - Configured Vite for building and serving the project. - Added licenses (dual) to project.
24 lines
345 B
JavaScript
24 lines
345 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'
|
|
}
|
|
}
|
|
});
|