1
0
mirror of https://github.com/musix-org/musix-oss synced 2024-09-20 14:01:55 +00:00
musix-oss/node_modules/protobufjs/dist/minimal/README.md

32 lines
899 B
Markdown
Raw Normal View History

2020-03-03 20:30:50 +00:00
This folder contains prebuilt browser versions of the minimal library suitable for use with statically generated code only. 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/minimal/protobuf.js"></script>
```
Production:
```
<script src="//cdn.rawgit.com/dcodeIO/protobuf.js/6.X.X/dist/minimal/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/minimal/protobuf.js"></script>
```
Production:
```
<script src="node_modules/protobufjs/dist/minimal/protobuf.min.js"></script>
```