diff --git a/Gruntfile.js b/Gruntfile.js index 7ad6e8963..82816174f 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -107,7 +107,10 @@ module.exports = function(grunt) { sourceMap: true, compress: { drop_console: true - } + }, + mangle: { + except: ['HeadTable', 'NameTable', 'CmapTable', 'HheaTable', 'MaxpTable', 'HmtxTable', 'PostTable', 'OS2Table', 'LocaTable', 'GlyfTable'] + } }, files: { 'build/pdfmake.min.js': ['build/pdfmake.js']