Setup example worker

This commit is contained in:
Schluffe
2026-09-27 18:09:53 +02:00
parent a647cd5184
commit d57c58a3bd
4 changed files with 24 additions and 2 deletions
+7 -1
View File
@@ -18,7 +18,13 @@ function devTools(): Plugin {
export default defineConfig({
server: { host, port, hmr: false },
build: { target: "esnext" },
build: {
target: "esnext",
main: `${root}index.html`,
lib: {
entry: `${root}worker.ts`,
},
},
test: {
include: ["./engine/**/*.test.ts"],
environment: "jsdom",