mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
Merge pull request #1015 from codedge/Set-up-pdf.built.js-with-Elixir
Set up Elixir with pdf.built.js
This commit is contained in:
commit
aa8a5ca93e
@ -164,7 +164,7 @@ module.exports = function(grunt) {
|
||||
process: false
|
||||
}
|
||||
},
|
||||
js_pdf: {
|
||||
/*js_pdf: {
|
||||
src: [
|
||||
'public/js/pdf_viewer.js',
|
||||
'public/js/compatibility.js',
|
||||
@ -173,7 +173,7 @@ module.exports = function(grunt) {
|
||||
],
|
||||
dest: 'public/pdf.built.js',
|
||||
nonull: true
|
||||
}
|
||||
}*/
|
||||
}
|
||||
});
|
||||
|
||||
|
@ -43,6 +43,13 @@ elixir(function(mix) {
|
||||
*/
|
||||
mix.scripts(['resources/assets/js/Chart.js'], 'public/js/Chart.min.js')
|
||||
.scripts(['resources/assets/js/d3.js'], 'public/js/d3.min.js');
|
||||
|
||||
mix.scripts([
|
||||
'public/js/pdf_viewer.js',
|
||||
'public/js/compatibility.js',
|
||||
'public/js/pdfmake.min.js',
|
||||
'public/js/vfs.js'
|
||||
], 'public/pdf.built.js');
|
||||
|
||||
|
||||
});
|
||||
|
8061
public/pdf.built.js
8061
public/pdf.built.js
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user