Skip to content

Commit

Permalink
Use closure compiler from npm in build.js
Browse files Browse the repository at this point in the history
  • Loading branch information
vbfox authored and stanley-cheung committed Oct 18, 2019
1 parent bf29f02 commit e38d7bb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/grpc-web/scripts/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ const closureArgs = [].concat(
]
);

const closureCommand = "google-closure-compiler " + closureArgs.join(' ');
const closureCompilerBin = path.resolve(__dirname, "../node_modules/.bin/google-closure-compiler");
const closureCommand = closureCompilerBin + " " + closureArgs.join(' ');

console.log(closureCommand);
let child = exec(closureCommand);
Expand Down

0 comments on commit e38d7bb

Please sign in to comment.