We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 91b2419 commit ee94dc5Copy full SHA for ee94dc5
rollup.config.js
@@ -23,7 +23,9 @@ const base = {
23
},
24
plugins: [
25
replace({
26
- 'var requestAnimationFrame': "var window = typeof window === \"undefined\" ? {} : window;\nvar requestAnimationFrame"
+ 'var requestAnimationFrame': "var window = typeof window !== \"undefined\" ? window : {};\nvar requestAnimationFrame",
27
+ 'window\.setTimeout': 'setTimeout',
28
+ 'window\.clearTimeout': 'clearTimeout'
29
}),
30
resolve({ module: true }),
31
commonjs()
0 commit comments