aboutsummaryrefslogtreecommitdiffhomepage
path: root/js
diff options
context:
space:
mode:
authorGravatar Peter Marton <pmarton@netflix.com>2018-02-08 14:07:15 -0800
committerGravatar Peter Marton <pmarton@netflix.com>2018-05-08 09:23:56 -0700
commit1062d985b96fbe3d1f20a9ebe692b572eecdb6aa (patch)
treefa4444bc6037cfea5a7ecebf5a76975f7431f402 /js
parent25625b956a2f0d432582009c16553a9fd21c3cea (diff)
Feat: add import-style=commonjs_strict option to the compiler
Diffstat (limited to 'js')
-rw-r--r--js/README.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/js/README.md b/js/README.md
index ef0d4b19..d8edca37 100644
--- a/js/README.md
+++ b/js/README.md
@@ -144,6 +144,7 @@ Some examples:
The `import_style` option is left to the default, which is `closure`.
- `--js_out=import_style=commonjs,binary:protos`: this contains the options
`import_style=commonjs` and `binary` and outputs to the directory `protos`.
+ `import_style=commonjs_strict` doesn't expose the output on the global scope.
API
===