Skip to content

Commit

Permalink
New: Full build depends on light build depends on minimal build, shar…
Browse files Browse the repository at this point in the history
…es all relevant code
  • Loading branch information
dcodeIO committed Jan 20, 2017
1 parent 4bff9c3 commit c5d291f
Show file tree
Hide file tree
Showing 26 changed files with 777 additions and 750 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ The `protobuf` namespace will always be available globally / also supports AMD l

Additionally, the library is compiled in different versions. Which one to use depends on whether size is a factor and your use case:

| Build | Folder | How to require | Description
| Build | Downloads | How to require | Description
|---------|------------------------------|---------------------------------|-------------
| full | [dist][dist-full] | `require("protobufjs")` | All features. Works with everything.
| light | [dist/light][dist-light] | `require("protobufjs/light")` | All features except tokenizer, parser and bundled common types. Works with reflection, JSON definitions and static code.
Expand Down
Loading

0 comments on commit c5d291f

Please sign in to comment.