Enable removing of all comments (except for Copyright notices) when preprocessing code, and reduce the indentation level

This commit is contained in:
Jonas Jenwald 2016-11-11 22:05:17 +01:00
parent a139c75774
commit 4f1cccb138
2 changed files with 11 additions and 4 deletions

View file

@ -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,