More helpful error message for missing decoratorsBeforeExport in parser (#8576)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{
|
||||
"plugins": ["decorators"],
|
||||
"throws": "The 'decorators' plugin requires a 'decoratorsBeforeExport' option, whose value must be a boolean."
|
||||
"throws": "The 'decorators' plugin requires a 'decoratorsBeforeExport' option, whose value must be a boolean. If you are migrating from Babylon/Babel 6 or want to use the old decorators proposal, you should use the 'decorators-legacy' plugin instead of 'decorators'."
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user