mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-25 09:38:06 +02:00
Enable babel translation to enable ES module support.
This commit is contained in:
parent
02370f952a
commit
25873e92f0
10 changed files with 65 additions and 18 deletions
5
make.js
5
make.js
|
@ -19,9 +19,8 @@
|
|||
try {
|
||||
require('shelljs/make');
|
||||
} catch (e) {
|
||||
console.log('ShellJS is not installed. Run "npm install" to install ' +
|
||||
'all dependencies.');
|
||||
return;
|
||||
throw new Error('ShellJS is not installed. Run "npm install" to install ' +
|
||||
'all dependencies.');
|
||||
}
|
||||
|
||||
var fs = require('fs');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue