1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-25 17:48:07 +02:00

Upgrade to Webpack 4

This commit is contained in:
Tim van der Meij 2018-05-20 15:18:43 +02:00
parent e3f635ce01
commit a816ee5c25
No known key found for this signature in database
GPG key ID: 8C3FD2925A5F2762
6 changed files with 23 additions and 22 deletions

View file

@ -27,7 +27,7 @@ module.exports = function (source) {
this.cacheable();
var filePath = this.resourcePath;
var context = this.options.context;
var context = this.rootContext;
var sourcePath = path.relative(context, filePath).split(path.sep).join('/');
var ctx = Object.create(this.query);