mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-01 04:04:47 -04:00
Set up Elixir with pdf.built.js
This commit is contained in:
parent
2c8a137375
commit
f362bb663c
@ -164,7 +164,7 @@ module.exports = function(grunt) {
|
|||||||
process: false
|
process: false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
js_pdf: {
|
/*js_pdf: {
|
||||||
src: [
|
src: [
|
||||||
'public/js/pdf_viewer.js',
|
'public/js/pdf_viewer.js',
|
||||||
'public/js/compatibility.js',
|
'public/js/compatibility.js',
|
||||||
@ -173,7 +173,7 @@ module.exports = function(grunt) {
|
|||||||
],
|
],
|
||||||
dest: 'public/pdf.built.js',
|
dest: 'public/pdf.built.js',
|
||||||
nonull: true
|
nonull: true
|
||||||
}
|
}*/
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -43,6 +43,13 @@ elixir(function(mix) {
|
|||||||
*/
|
*/
|
||||||
mix.scripts(['resources/assets/js/Chart.js'], 'public/js/Chart.min.js')
|
mix.scripts(['resources/assets/js/Chart.js'], 'public/js/Chart.min.js')
|
||||||
.scripts(['resources/assets/js/d3.js'], 'public/js/d3.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…
x
Reference in New Issue
Block a user