Skip to content

Commit 66568a8

Browse files
committed
attempt to fix for node.js 20
1 parent 6e6add9 commit 66568a8

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

packages/common/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"type-check": "tsc --noEmit",
1010
"type-check:watch": "yarn run type-check -- --watch",
1111
"build:types": "tsc --emitDeclarationOnly",
12-
"build:js": "rollup -c",
12+
"build:js": "rollup -c --bundleConfigAsCjs",
1313
"build": "yarn run lint && yarn run build:types && yarn run build:js",
1414
"release": "bash release.sh",
1515
"lint": "eslint --fix src/**/*.ts test/**/*.ts",

packages/crypto/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"type-check": "tsc --noEmit",
1111
"type-check:watch": "yarn run type-check -- --watch",
1212
"build:types": "tsc --emitDeclarationOnly",
13-
"build:js": "rollup -c",
13+
"build:js": "rollup -c --bundleConfigAsCjs",
1414
"build": "yarn run lint && yarn run build:types && yarn run build:js",
1515
"release": "bash release.sh",
1616
"lint": "eslint --fix src/**/*.ts test/**/*.ts",

packages/ledger-hw-app-aergo/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"type-check": "tsc --noEmit",
1111
"type-check:watch": "yarn run type-check -- --watch",
1212
"build:types": "tsc --emitDeclarationOnly",
13-
"build:js": "rollup -c",
13+
"build:js": "rollup -c --bundleConfigAsCjs",
1414
"build": "yarn run lint && yarn run build:types && yarn run build:js",
1515
"release": "bash release.sh",
1616
"lint": "eslint --fix src/**/*.ts test/**/*.ts",

packages/wallet/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"type-check": "tsc --noEmit",
77
"type-check:watch": "yarn run type-check -- --watch",
88
"build:types": "tsc --emitDeclarationOnly",
9-
"build:js": "rollup -c",
9+
"build:js": "rollup -c --bundleConfigAsCjs",
1010
"build": "yarn run lint && yarn run build:types && yarn run build:js",
1111
"release": "bash release.sh",
1212
"lint": "eslint --fix src/**/*.ts test/**/*.ts",

0 commit comments

Comments
 (0)