Update packaging to use UMD and the browser field
The web build is now packaged as UMD, and the `browser` field in `package.json` now points to the web build output.
This commit is contained in:
@@ -1,8 +0,0 @@
|
||||
/* eslint-env browser */
|
||||
require('babel-polyfill');
|
||||
|
||||
/**
|
||||
* Export for use in a web page.
|
||||
* @type {RenderWebGL}
|
||||
*/
|
||||
window.RenderWebGL = require('./index');
|
||||
Reference in New Issue
Block a user