wip: support configuring compiler deprecations at runtime + warn invalid deprecation configs

This commit is contained in:
Evan You
2021-04-16 12:19:12 -04:00
parent 79cbf21c3e
commit bbf708dbe9
5 changed files with 72 additions and 22 deletions

View File

@@ -517,7 +517,7 @@ function parseTag(
if (
__COMPAT__ &&
checkCompatEnabled(
CompilerDeprecationTypes.IS_ON_ELEMENT,
CompilerDeprecationTypes.COMPILER_IS_ON_ELEMENT,
context,
p.loc
)