mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-24 19:58:21 +00:00
fix(build): resolve code-splitting chunk import issue on backend and frontend
This commit is contained in:
@@ -237,13 +237,13 @@ async function buildMainPackage({
|
||||
target: 'bun',
|
||||
outdir: binOutDir,
|
||||
minify: true,
|
||||
splitting: true,
|
||||
naming: `${appName}-app.[ext]`,
|
||||
plugins,
|
||||
external,
|
||||
define: {
|
||||
'process.env.NODE_ENV': JSON.stringify('production'),
|
||||
},
|
||||
publicPath: '/',
|
||||
})
|
||||
|
||||
if (!buildResult.success) {
|
||||
|
||||
Reference in New Issue
Block a user