Skip to content

Commit 4bdeed2

Browse files
robsdedudebigmontz
andauthored
Fix TestKit backend startup for nodejs >10 (#996)
Co-authored-by: Antonio Barcelos <[email protected]>
1 parent c82c716 commit 4bdeed2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/testkit-backend/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"type": "module",
1212
"scripts": {
1313
"build": "rollup src/index.js --config rollup.config.js",
14-
"start": "node -r esm src/index.js",
14+
"start": "node --version | grep -q v10. && node -r esm src/index.js || node --experimental-specifier-resolution=node src/index.js",
1515
"clean": "rm -fr node_modules public/index.js",
1616
"prepare": "npm run build"
1717
},

0 commit comments

Comments
 (0)