1

I'm interested in using @babel/parser to parse a Javascript source file which may or may not contain syntax errors. acorn-loose is a thing, and esprima can be passed a tolerant flag with a value of true; is there an equivalent for babel 7?

Dan O
  • 6,022
  • 2
  • 32
  • 50

1 Answers1

0

This is not something that Babel's parser currently supports.

loganfsmyth
  • 156,129
  • 30
  • 331
  • 251