Skip to content

Commit

Permalink
Fix the windows build.
Browse files Browse the repository at this point in the history
Windows doesn't pay attention to #! lines at the beginning of Node
scripts, so we need to invoke the node binary explicitly.
  • Loading branch information
bmeurer committed Nov 3, 2017
1 parent 8640bf6 commit c0572f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"repository": "https://github.com/v8/web-tooling-benchmark",
"main": "src/cli.js",
"scripts": {
"build:uglify-es-bundled": "./node_modules/uglify-es/bin/uglifyjs -b preamble=\"'const UglifyJS = module.exports = {};'\" --self > ./build/uglify-es-bundled.js",
"build:uglify-js-bundled": "./node_modules/uglify-js/bin/uglifyjs -b preamble=\"'const UglifyJS = module.exports = {};'\" --self > ./build/uglify-js-bundled.js",
"build:uglify-es-bundled": "node node_modules/uglify-es/bin/uglifyjs -b preamble=\"'const UglifyJS = module.exports = {};'\" --self > build/uglify-es-bundled.js",
"build:uglify-js-bundled": "node node_modules/uglify-js/bin/uglifyjs -b preamble=\"'const UglifyJS = module.exports = {};'\" --self > build/uglify-js-bundled.js",
"build": "webpack",
"postinstall": "npm run build:uglify-es-bundled && npm run build:uglify-js-bundled && npm run build",
"precommit": "lint-staged",
Expand Down

0 comments on commit c0572f2

Please sign in to comment.