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:
parent
e3f635ce01
commit
a816ee5c25
6 changed files with 23 additions and 22 deletions
2
external/webpack/pdfjsdev-loader.js
vendored
2
external/webpack/pdfjsdev-loader.js
vendored
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue