Skip to content

Commit

Permalink
Add es6-promise to globals in rollup config.
Browse files Browse the repository at this point in the history
  • Loading branch information
oschwede committed Jul 8, 2019
1 parent 7b3457c commit 263f54f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ export default [
'html2canvas',
],
globals: {
'es6-promise': 'es6promise',
jspdf: 'jsPDF',
html2canvas: 'html2canvas'
},
Expand All @@ -58,6 +59,7 @@ export default [
'html2canvas',
],
globals: {
'es6-promise': 'es6promise',
jspdf: 'jsPDF',
html2canvas: 'html2canvas'
},
Expand All @@ -79,6 +81,7 @@ export default [
{ file: pkg.browser.replace(/js$/, 'bundle.js'), format: 'umd' }
],
globals: {
'es6-promise': 'es6promise',
jspdf: 'jsPDF',
html2canvas: 'html2canvas'
},
Expand All @@ -98,6 +101,7 @@ export default [
{ file: pkg.browser.replace(/js$/, 'bundle.min.js'), format: 'umd' }
],
globals: {
'es6-promise': 'es6promise',
jspdf: 'jsPDF',
html2canvas: 'html2canvas'
},
Expand Down

0 comments on commit 263f54f

Please sign in to comment.