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

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

Details

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.

Diff Detail

Repository
R13 material-motion/material-motion-js
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
appsforartists created this revision.Dec 13 2018, 1:16 AM
Restricted Application added a reviewer: O2: Material Motion. · View Herald TranscriptDec 13 2018, 1:16 AM
Restricted Application added a project: Material Motion. · View Herald Transcript
Restricted Application added a reviewer: Material Motion. · View Herald Transcript
Restricted Application completed building Restricted Buildable.Dec 13 2018, 1:18 AM
This revision was automatically updated to reflect the committed changes.