mirror of
https://github.com/odoo/owl.git
synced 2025-10-06 19:59:41 +07:00
[REF] build: do not output const enum definitions
We only use 2 const enums in the codebase, but they are defined in the output, even though this is not useful in any way. This commit reduces the final output by about 30 loc.
This commit is contained in:
committed by
Aaron Bohy
parent
416deeb865
commit
772c275bd4
+1
-1
@@ -82,7 +82,7 @@
|
||||
// "noEmitOnError": false, // Do not emit outputs if any errors were reported.
|
||||
// "noImplicitUseStrict": false, // Do not emit "use strict" directives in module output.
|
||||
// "noResolve": false, // Do not add triple-slash references or module import targets to the list of compiled files.
|
||||
"preserveConstEnums": true, // Do not erase const enum declarations in generated code.
|
||||
"preserveConstEnums": false, // Do not erase const enum declarations in generated code.
|
||||
// "removeComments": false, // Remove all comments except copy-right header comments beginning with
|
||||
// "experimentalDecorators": true, // Enables experimental support for ES7 decorators.
|
||||
// "emitDecoratorMetadata": true, // Enables experimental support for emitting type metadata for decorators.
|
||||
|
||||
Reference in New Issue
Block a user