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:
Christopher Willis-Ford
2018-01-10 12:58:10 -08:00
parent d7c7a56e25
commit 63fc1c6f64
3 changed files with 10 additions and 14 deletions

View File

@@ -1,8 +0,0 @@
/* eslint-env browser */
require('babel-polyfill');
/**
* Export for use in a web page.
* @type {RenderWebGL}
*/
window.RenderWebGL = require('./index');