fix(build): resolve code-splitting chunk import issue on backend and frontend

This commit is contained in:
yiling
2026-07-09 15:00:23 +08:00
parent e20e147445
commit 8d19b578e7
3 changed files with 14 additions and 4 deletions
+2 -2
View File
@@ -19,7 +19,8 @@ await Bun.build({
root: '.',
target: 'bun',
outdir: outdir,
minify: false,
minify: true,
splitting: true,
naming: '[name].[ext]',
plugins: [
temporalWorkflow({
@@ -44,5 +45,4 @@ await Bun.build({
define: {
'process.env.NODE_ENV': JSON.stringify('production'),
},
publicPath: '/',
})