From 56b15c3f579f2e63fb05b881e0c3986911a06f97 Mon Sep 17 00:00:00 2001 From: Kevin Paxton Date: Mon, 25 Sep 2023 15:15:45 +0100 Subject: [PATCH] Updated targets in buildIntegration script --- packages/webui/src/scripts/buildIntegration.cjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/webui/src/scripts/buildIntegration.cjs b/packages/webui/src/scripts/buildIntegration.cjs index b0e8d15..e1ce528 100644 --- a/packages/webui/src/scripts/buildIntegration.cjs +++ b/packages/webui/src/scripts/buildIntegration.cjs @@ -19,12 +19,12 @@ build({ ...shared, format: 'esm', outfile: './dist/integration.esm.js', - target: ['esnext', 'node12.22.0'], + target: ['es2022', 'node16'], }); build({ ...shared, format: 'cjs', outfile: './dist/integration.cjs.js', - target: ['esnext', 'node12.22.0'], + target: ['es2022', 'node16'], });