1.0.1 • Published 1 year ago
acorn-import-assertion-v2 v1.0.1
acorn-import-assertion-v2
Suport for import assertion in acorn
Usage
Require this module as an Acorn plugin just like the following code:
import { Parser } from 'acorn';
import ImportAssertionPlugin from 'acorn-import-assertion-v2';
const MyParser = Parser.extend(ImportAssertionPlugin);
MyParser.parse(/* code */, { /* configuration*/ });
License
This repo is release under an MIT License