~starkingdoms/starkingdoms

ref: 2b6612f60801525694dd4292ae90d0e90928e9b7 starkingdoms/client/vite.config.ts -rw-r--r-- 346 bytes
2b6612f6 — ghostlyzsh i heard one time that other module types are good to be accessible 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import { defineConfig } from "vite";

export default defineConfig({
    build: {
        lib: {
            formats: ["es"],
            entry: {
                play: "play.html",
                index: "index.html",
            }
        },
        commonjsOptions: { include: [] },
    },
    optimizeDeps: {
        disabled: false
    }
});