tree: 0d066c8164419fb77409765705dc114eba3e9f84 [path history] [tgz]
  1. light/
  2. minimal/
  3. protobuf.js
  4. protobuf.js.map
  5. protobuf.min.js
  6. protobuf.min.js.map
  7. README.md
dist/README.md

This folder contains prebuilt browser versions of the full library. When sending pull requests, it is not required to update these.

Prebuilt files are in source control to enable pain-free frontend respectively CDN usage:

CDN usage

Development:

<script src="//cdn.rawgit.com/dcodeIO/protobuf.js/6.X.X/dist/protobuf.js"></script>

Production:

<script src="//cdn.rawgit.com/dcodeIO/protobuf.js/6.X.X/dist/protobuf.min.js"></script>

NOTE: Remember to replace the version tag with the exact release your project depends upon.

Frontend usage

Development:

<script src="node_modules/protobufjs/dist/protobuf.js"></script>

Production:

<script src="node_modules/protobufjs/dist/protobuf.min.js"></script>