Merge pull request #10015 from cheryly279/add-chunkname
Adding chunkname to async loaded code
This commit is contained in:
commit
49cd8da7ff
@ -75,7 +75,7 @@ if (typeof PDFJSDev !== 'undefined' && PDFJSDev.test('GENERIC')) {
|
||||
worker = __non_webpack_require__('./pdf.worker.js');
|
||||
}
|
||||
callback(worker.WorkerMessageHandler);
|
||||
});
|
||||
}, null, 'pdfjsWorker');
|
||||
}) : dynamicLoaderSupported ? (function (callback) {
|
||||
requirejs(['pdfjs-dist/build/pdf.worker'], function (worker) {
|
||||
callback(worker.WorkerMessageHandler);
|
||||
|
Loading…
Reference in New Issue
Block a user