We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ec9c1b5 commit 5d523feCopy full SHA for 5d523fe
package.json
@@ -113,5 +113,5 @@
113
},
114
"types": "dist/src",
115
"unpkg": "dist/browser.js",
116
- "version": "2.0.0-beta.10"
+ "version": "2.0.0-beta.11"
117
}
rollup.config.browser.js
@@ -34,13 +34,12 @@ export default {
34
output: [
35
{
36
file,
37
- format: 'iife',
+ format: 'umd',
38
sourcemap: true,
39
globals: {
40
- 'gpu.js': `(typeof window.gpu !== undefined) ? window.gpu : null`,
+ 'gpu.js': `GPU`,
41
42
name,
43
- footer: '\nif(typeof window!==undefined){window.brain=brain}',
44
45
],
46
};
0 commit comments