Skip to content

Commit

Permalink
Add: output.globals for p5 module
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyketcham committed Jan 16, 2021
1 parent 2dfde20 commit e6be1a4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ const name = pkg.name
export default {
input: 'src/index.js',
output: [
{ globals: { p5: 'p5' } },
{ file: pkg.module, format: 'es' },
{ file: pkg.main, format: 'umd', name },
],
Expand Down

0 comments on commit e6be1a4

Please sign in to comment.