Skip to content

Commit

Permalink
dynamic-import-wasm
Browse files Browse the repository at this point in the history
  • Loading branch information
hoshinotsuyoshi committed Dec 27, 2024
1 parent 444c4ff commit f862458
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion frontend/packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,6 @@
},
"files": [
"dist-cli/**/*"
]
],
"sideEffects": false
}
4 changes: 4 additions & 0 deletions frontend/packages/cli/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,12 @@ export default defineConfig({
build: {
chunkSizeWarningLimit: 5000, // TODO: Reduce this value if possible
emptyOutDir: true,
minify: 'esbuild',
outDir,
rollupOptions: {
treeshake: {
moduleSideEffects: false,
},
plugins: [
{
// Excludes `schema.json` from the build output as it is generated by the CLI during `erd build`.
Expand Down

0 comments on commit f862458

Please sign in to comment.