Skip to content

Commit

Permalink
wip: add dummy entry
Browse files Browse the repository at this point in the history
  • Loading branch information
hi-ogawa committed Sep 28, 2024
1 parent 4f02bce commit 59b86d8
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions examples/web-worker/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,12 @@ export default defineConfig((_env) => ({
build: {
outDir: "dist/worker",
minify: false,
ssr: true,
modulePreload: false,
rollupOptions: {
input: {
unused: `data:text/javascript,console.log("unused")`,
},
},
},
},
},
Expand All @@ -45,7 +50,7 @@ export default defineConfig((_env) => ({
async buildApp(builder) {
// TODO
await builder.build(builder.environments["client"]!);
// await builder.build(builder.environments["worker"]!);
await builder.build(builder.environments["worker"]!);
},
},
}));
Expand Down

0 comments on commit 59b86d8

Please sign in to comment.