Fix build target
This commit is contained in:
1 parent
d123f7f481
commit
4792bbc1c8
1 file changed
+1
-1
@@ -144,7 +144,7 @@ function* getEsbuildOptions(bundle, buildOptions) {
|
||||
// Disable esbuild auto discover `tsconfig.json` file
|
||||
tsconfig: path.join(__dirname, "empty-tsconfig.json"),
|
||||
mainFields: ["module", "main"],
|
||||
target: [...(bundle.esbuildTarget ?? ["node10"])],
|
||||
target: [...(bundle.esbuildTarget ?? ["node12"])],
|
||||
logLevel: "error",
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user