mirror of https://github.com/grpc/grpc-web.git
Use closure compiler from npm in build.js
This commit is contained in:
parent
bf29f0272b
commit
e38d7bb6c0
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue