mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
Merge pull request #10354 from Snuffleupagus/TESTING-no-sourceMaps
Disable source-map generation when running tests
This commit is contained in:
commit
74934db910
1 changed files with 1 additions and 1 deletions
|
@ -145,7 +145,7 @@ function createWebpackConfig(defines, output) {
|
|||
var licenseHeaderLibre =
|
||||
fs.readFileSync('./src/license_header_libre.js').toString();
|
||||
var enableSourceMaps = !bundleDefines.FIREFOX && !bundleDefines.MOZCENTRAL &&
|
||||
!bundleDefines.CHROME;
|
||||
!bundleDefines.CHROME && !bundleDefines.TESTING;
|
||||
var skipBabel = bundleDefines.SKIP_BABEL ||
|
||||
process.env['SKIP_BABEL'] === 'true';
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue