Package Exports
- grunt-protoc-plugin
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (grunt-protoc-plugin) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
grunt-protoc
protoc generator task
info
Original repo was missing some functionality I require. So I forked this repo and implemented some features of my own. Feel free to raise issues
config
<plugin>: {
protocPath: "path/to/protoc", // optional - path of the protoc, will use system protoc if left unspecified
proto: ["*.proto"], // required - proto files to compiles
includes: ["."], // optional - proto include path
transpile: [ // required - configure the transpilation
{
plugin: "js", // required - the name of the plugin
pluginPath: "path/to/plugin", // optional - path of the plugin
output: "model/js", // required - output directory, can also specify options here
},
]
}
LICENSE
MIT LICENSE