Skip to content

Commit a4ea3e6

Browse files
Change build target to browser when compiling workflows (#135)
* Test browser target for compile * update version
1 parent 225044d commit a4ea3e6

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

packages/cre-sdk-examples/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@chainlink/cre-sdk-examples",
33
"private": true,
4-
"version": "1.0.0-beta.0",
4+
"version": "1.0.0-beta.1",
55
"type": "module",
66
"author": "Ernest Nowacki",
77
"license": "BUSL-1.1",

packages/cre-sdk/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@chainlink/cre-sdk",
3-
"version": "1.0.0-beta.0",
3+
"version": "1.0.0-beta.1",
44
"type": "module",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",

packages/cre-sdk/scripts/src/compile-to-js.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export const main = async (tsFilePath?: string, outputFilePath?: string) => {
3636
await Bun.build({
3737
entrypoints: [resolvedInput],
3838
outdir: path.dirname(resolvedOutput),
39-
target: 'node',
39+
target: 'browser',
4040
format: 'esm',
4141
naming: path.basename(resolvedOutput),
4242
})

0 commit comments

Comments
 (0)