From f180924582a6a63f49c013bf3976c293ff4444b3 Mon Sep 17 00:00:00 2001 From: yelouafi Date: Fri, 12 Sep 2014 17:51:10 +0000 Subject: [PATCH] Fixed Minified version not working --- Gruntfile.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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']