Skip to content

Commit a6e8483

Browse files
authored
addAssets bug fix
There is an error message "Maximum call stack size exceeded" when the number of assets files is too large.
1 parent bc6b8d1 commit a6e8483

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/tools/esbuild/bundler-execution-result.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class ExecutionResult {
3131
this.outputFiles.push((0, utils_1.createOutputFileFromText)(path, content, type));
3232
}
3333
addAssets(assets) {
34-
this.assetFiles.push(...assets);
34+
this.assetFiles = this.assetFiles.concat(assets);
3535
}
3636
addLog(value) {
3737
this.logs.push(value);

0 commit comments

Comments
 (0)