Skip to content

Commit 95c138e

Browse files
committed
fix: fix cjs build (for now) by adding var window
1 parent 164cd8e commit 95c138e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/rollup.config.js

+1
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ export default [{
4848
output: {
4949
...baseConfig.output,
5050
file: pkg.main,
51+
intro: 'var window',
5152
format: 'cjs'
5253
},
5354
external: Object.keys(pkg.dependencies)

0 commit comments

Comments
 (0)