Skip to content

Commit 0a740cf

Browse files
BAH-3841 | Fix. Copy library files into dist folder and exclude html2pdf from minification
Co-authored-by: arshiyaTW2021 <arshiya.shehzad@thoughtworks.com>
1 parent 5669761 commit 0a740cf

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

ui/Gruntfile.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,13 @@ module.exports = function (grunt) {
6767
'components/jquery-ui/ui/minified/jquery-ui.custom.min.js',
6868
'components/angular-ivh-treeview/dist/ivh-treeview.min.js',
6969

70+
'components/html2pdf.js/html2pdf.bundle.min.js',
71+
'components/pdfmake/pdfmake.min.js',
72+
'components/pdfmake/vfs_fonts.js',
73+
'components/html2canvas/html2canvas.min.js',
74+
'components/marked/marked.min.js',
75+
'components/lib-jitsi-meet/external_api.min.js',
76+
7077
'micro-frontends-dist/shared.min.js',
7178
'micro-frontends-dist/ipd.min.js',
7279
'micro-frontends-dist/next-ui.min.js'
@@ -538,7 +545,7 @@ module.exports = function (grunt) {
538545
files: {
539546
expand: true,
540547
cwd: '<%= yeoman.dist %>',
541-
src: ['**/*.min.*.js', '!micro-frontends-dist/**/*.js'],
548+
src: ['**/*.min.*.js', '!micro-frontends-dist/**/*.js', '!**/html2pdf.bundle.min.*.js'],
542549
dest: '<%= yeoman.dist %>'
543550
}
544551
},

0 commit comments

Comments
 (0)