Skip to content

Commit

Permalink
Keep the node benchmark in es format
Browse files Browse the repository at this point in the history
  • Loading branch information
odinhb committed Mar 12, 2024
1 parent 6dada30 commit d3f5f4a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"build-bench": "npm-run-all build-browserbench build-nodebench",
"build-browserbench": "rollup -c rollup.browserbench.config.js",
"build-nodebench": "rollup -c rollup.nodebench.config.js",
"benchmark-in-node": "node tmp/bench.node.js",
"benchmark-in-node": "node tmp/bench.node.mjs",
"minify": "uglifyjs $npm_package_main -cm -o $npm_package_minified_main -p relative --in-source-map ${npm_package_main}.map --source-map ${npm_package_minified_main}.map",
"size": "echo \"gzip size: $(gzip-size $npm_package_minified_main | pretty-bytes)\"",
"test": "mocha --compilers js:babel-register test/**/*.js",
Expand Down
2 changes: 1 addition & 1 deletion rollup.nodebench.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ let pkg = JSON.parse(fs.readFileSync('./package.json'));

export default {
entry: 'bench.js',
dest: 'tmp/bench.node.js',
dest: 'tmp/bench.node.mjs',
sourceMap: 'inline',
format: 'es',
globals: {
Expand Down

0 comments on commit d3f5f4a

Please sign in to comment.