[changed] `package.browser` to `package.unpkg`

Authored by appsforartists on Dec 13 2018, 1:02 AM.

Description

[changed] package.browser to package.unpkg

Summary:
browser refers to which APIs a library uses. The module build already uses browser-safe APIs, except for import statements. Any tool that cares about the browser field will be able to resolve import statements.

CDNs like unpkg will serve the JS file directly. This change ensures they still have a bundled version to serve, without potentially duplicating dependencies if we're bundled downstream.

Reviewers: O2 Material Motion, Material Motion

Tags: Material Motion

Differential Revision: http://codereview.cc/D3509

Details

Committed
appsforartistsDec 13 2018, 1:16 AM
Differential Revision
D3509: [changed] `package.browser` to `package.unpkg`
Parents
R13:dc52c0f56107: v0.1.0
Branches
Unknown
Tags
Unknown
References
tag: phabricator/base/11939