Skip to content

Commit c99a256

Browse files
committed
Merge pull request #87 from yelouafi/fixMinifiedVersionNotWorking
Fixed Minified version not working
2 parents aa7d6dd + f180924 commit c99a256

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Gruntfile.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,10 @@ module.exports = function(grunt) {
107107
sourceMap: true,
108108
compress: {
109109
drop_console: true
110-
}
110+
},
111+
mangle: {
112+
except: ['HeadTable', 'NameTable', 'CmapTable', 'HheaTable', 'MaxpTable', 'HmtxTable', 'PostTable', 'OS2Table', 'LocaTable', 'GlyfTable']
113+
}
111114
},
112115
files: {
113116
'build/pdfmake.min.js': ['build/pdfmake.js']

0 commit comments

Comments
 (0)