Skip to content

Update for acorn v4. Also works with v2 and v3

Choose a tag to compare

@matAtWork matAtWork released this 26 Sep 11:38
· 13 commits to master since this release

Update to work with acorn v4, if present. Note that async and await are fully parsed by acorn v4. The use cases for the plugin are:

  • With acorn v4, to use the compiler options which are enable specific parsing modes
  • When the installed version of acorn is unknown (for example if passed from another tool such as webpack)