Not using reexports with --gen-all (#5873)

Co-authored-by: Kamil Rojewski <kamil.rojewski@gmail.com>
This commit is contained in:
Kamil Rojewski
2020-04-27 21:35:42 +02:00
committed by GitHub
parent 99aa1ef21d
commit 44c919a9e8

View File

@@ -295,6 +295,7 @@ int FlatCompiler::Compile(int argc, const char **argv) {
} else if (arg == "--gen-all") {
opts.generate_all = true;
opts.include_dependence_headers = false;
opts.reexport_ts_modules = false;
} else if (arg == "--gen-includes") {
// Deprecated, remove this option some time in the future.
Warn("warning: --gen-includes is deprecated (it is now default)\n");