mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-10 02:05:37 +02:00
Enable removing of all comments (except for Copyright notices) when preprocessing code, and reduce the indentation level
This commit is contained in:
parent
a139c75774
commit
4f1cccb138
2 changed files with 11 additions and 4 deletions
|
@ -133,7 +133,7 @@ function bundle(filename, outfilename, pathPrefix, initFiles, amdName, defines,
|
|||
var p2 = require('./external/builder/preprocessor2.js');
|
||||
var ctx = {
|
||||
rootPath: __dirname,
|
||||
saveComments: true,
|
||||
saveComments: 'copyright',
|
||||
defines: builder.merge(defines, {
|
||||
BUNDLE_VERSION: versionInfo.version,
|
||||
BUNDLE_BUILD: versionInfo.commit,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue