fourdjs/vite.config.js

17 lines
227 B
JavaScript

// vite.config.js
import { defineConfig, loadEnv } from 'vite';
export default defineConfig({
base: '/fourjs/',
build: {
rollupOptions: {
output: {
manualChunks: {
threejs: [ 'three' ]
}
}
}
}
})