We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba5f8d8 commit 763db81Copy full SHA for 763db81
package/astParser.js
@@ -1,7 +1,8 @@
1
/* eslint-disable no-inner-declarations */
2
-const acorn = require('acorn'); // javascript parser
3
// eslint-disable-next-line import/newline-after-import
+const acorn = require('acorn'); // javascript parser
4
const jsx = require('acorn-jsx');
5
+
6
const JSXParser = acorn.Parser.extend(jsx());
7
8
// Helper function to grab the getters/setters from `elementType`
0 commit comments