Skip to content

Commit 1706f42

Browse files
author
Fabiana Severin
committed
Remove hardcoded Node.js 16 target from build script
1 parent 9e5bc37 commit 1706f42

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/build.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,10 @@ const shared = {
2121
},
2222
};
2323

24-
const buildOneSet = (target) => {
24+
const buildOneSet = () => {
2525
build({
2626
...shared,
2727
outfile: `../dist/index.mjs`,
28-
target,
2928
});
3029

3130
// Always build UserFunction.js
@@ -40,7 +39,6 @@ const buildOneSet = (target) => {
4039
js: '})();',
4140
},
4241
outfile: `../dist/UserFunction.js`,
43-
target,
4442
});
4543

4644
// Copy rapid-client
@@ -53,4 +51,4 @@ const buildOneSet = (target) => {
5351
);
5452
};
5553

56-
buildOneSet('node16.20.2');
54+
buildOneSet();

0 commit comments

Comments
 (0)