Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
It appears that Webpack is already handling the UMD import/export specification correctly when compiling the assets within Amber. In the amber.js websocket file, both UMD and common JS are present, and non-identical as both `class Channel` and `class Socket` are exported in the UMD format but only Socket is exported as CommonJS. A side-effect of this is that the `module.exports` object is transpiled into the bundle as Webpack has already defaulted to using UMD. This commit simply removes the CommonJS export definition.
- Loading branch information