What are "platforms" for manifest.json?
There is a "platform" key in the manifest.json definition .
However, I cannot find it documented. What is he doing?
source to share
The key platforms
in the manifest file is part of a feature called multi-platform zip files, which only matters for NaCl . Developers can reduce the size of the crx file by placing platform-specific files in a directory _platform_specific
and listing directories platforms
in manifest.json
. Users who then install CRX from the Chrome Web Store will only receive files for their platform.
This feature is documented at https://developer.chrome.com/native-client/devguide/distributing#distributing-packaged .
source to share