Skip to content

Commit b98fa0f

Browse files
committed
Merge pull request angular-ui#2963 from PaulL1/exporter_tut
Doco(exporter): add comment about minifying pdfmake
2 parents 8e4ebfa + 1273130 commit b98fa0f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

misc/tutorial/206_exporting_data.ngdoc

+5
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ an Excel spreadsheet after csv import, you can try setting `exporterOlderExcelCo
2727

2828
Note that some other applications will then have problems instead.
2929

30+
You may find that you have problems including pdfMake in your toolchain - it sometimes breaks when
31+
minified. If you have this problem it is recommended to instead include pdfmake.js and vfs_fonts.js
32+
as assets (or the equivalent minified versions), and then include them as a script in your application
33+
rather than as part of a minification of your entire javascript library.
34+
3035
@example
3136
In this example we use the native grid menu buttons, and we show both the pdf and csv export options.
3237

0 commit comments

Comments
 (0)