mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 06:38:07 +02:00
Disable source-map generation when running tests
This should save, a little bit of, time/resources on the bots since source-maps aren't used for anything during testing.
This commit is contained in:
parent
fc607e35de
commit
b60ea67a11
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