Refs #4. This patch adds a new npm run dist command to generate a minified browser compatible asset in dist/kinto-discovery.min.js, exposing a root KintoDiscovery object where exported discovery functions are attached, so in-browser usage with that script loaded is:
Refs #4. This patch adds a new
npm run dist
command to generate a minified browser compatible asset indist/kinto-discovery.min.js
, exposing a rootKintoDiscovery
object where exported discovery functions are attached, so in-browser usage with that script loaded is:This also upgrades Babel to version 6.
r=? @oak11 @natim @almet