fix: throw expect jsx plugin error when an idStart or > is seen (#11774)
* fix: throw expect jsx plugin error when an idStart or > is seen * fix: avoid throwing undefined * add test case
This commit is contained in:
4
packages/babel-parser/test/fixtures/jsx/basic/html-comment/options.json
vendored
Normal file
4
packages/babel-parser/test/fixtures/jsx/basic/html-comment/options.json
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"sourceType": "script",
|
||||
"plugins": ["jsx", "flow"]
|
||||
}
|
||||
Reference in New Issue
Block a user