-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Breaking: Cleaned up library distributions, now is full / light / min…
…imal with proper browserify support for each
- Loading branch information
Showing
52 changed files
with
572 additions
and
588 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
This folder contains prebuilt browser versions of the light library suitable for use with reflection, static code and JSON descriptors / modules. 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/light/protobuf.js"></script> | ||
``` | ||
|
||
Production: | ||
``` | ||
<script src="//cdn.rawgit.com/dcodeIO/protobuf.js/6.X.X/dist/light/protobuf.min.js"></script> | ||
``` | ||
|
||
**NOTE:** Remember to replace the version tag with the exact [release](https://github.com/dcodeIO/protobuf.js/tags) your project depends upon. | ||
|
||
Frontend usage | ||
-------------- | ||
|
||
Development: | ||
``` | ||
<script src="node_modules/protobufjs/dist/light/protobuf.js"></script> | ||
``` | ||
|
||
Production: | ||
``` | ||
<script src="node_modules/protobufjs/dist/light/protobuf.min.js"></script> | ||
``` |
Oops, something went wrong.