Skip to content

Commit

Permalink
fix: fix cjs build (for now) by adding var window
Browse files Browse the repository at this point in the history
  • Loading branch information
pimlie committed Feb 11, 2019
1 parent 164cd8e commit 95c138e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ export default [{
output: {
...baseConfig.output,
file: pkg.main,
intro: 'var window',
format: 'cjs'
},
external: Object.keys(pkg.dependencies)
Expand Down

0 comments on commit 95c138e

Please sign in to comment.