Skip to content

Commit 2a0bffe

Browse files
authored
Fix benchmark run configuration (#59)
1 parent 57a5f2a commit 2a0bffe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"build": "pulp build -- --censor-lib --strict",
66
"test": "pulp test",
77
"bench:build": "purs compile \"bench/**/*.purs\" \"src/**/*.purs\" \"bower_components/*/src/**/*.purs\"",
8-
"bench:run": "node -e \"require('./output/Bench.Main/index.js').main()\"",
8+
"bench:run": "node --input-type=module --eval \"import * as Bench_Main from './output/Bench.Main/index.js';Bench_Main.main()\"",
99
"bench": "npm run bench:build && npm run bench:run"
1010
},
1111
"devDependencies": {

0 commit comments

Comments
 (0)