Skip to content

Commit

Permalink
feat: export module as contentfulApp (#490)
Browse files Browse the repository at this point in the history
  • Loading branch information
andipaetzold authored Jan 13, 2021
1 parent 4075183 commit 0eb5aaa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ module.exports = [
makeConfigForOutput({
file: pkg.main,
format: 'umd',
name: 'contentfulExtension'
name: 'contentfulExtension',
footer: 'window.contentfulApp = window.contentfulExtension;'
})
]

0 comments on commit 0eb5aaa

Please sign in to comment.