Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch to using package.json exports for entrypoints
This allows users to import the module-based version by writing ``` import { BaseRealtime } from 'ably/modules' ``` instead of having to import 'ably/build/modules'. I followed the guidance in [1] and [2]. [1] https://nodejs.org/api/packages.html#exports [2] https://webpack.js.org/guides/package-exports/
- Loading branch information