From e01051a1eabcdbb053ed8e5864e259020310df32 Mon Sep 17 00:00:00 2001 From: charliedowler Date: Mon, 9 Feb 2015 20:18:55 +0000 Subject: [PATCH] #2 Add support for ES6 & JSX --- index.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index e904042..8da9fda 100644 --- a/index.js +++ b/index.js @@ -2,7 +2,7 @@ var isRequire = require('is-require')('require') var core = require('resolve/lib/core.json') var position = require('file-position') var eval = require('static-eval') -var esprima = require('esprima') +var esprima = require('esprima-fb') var resolve = require('resolve') var clone = require('clone') var path = require('path') diff --git a/package.json b/package.json index e688893..e3fcfb8 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "dependencies": { "astw": "^1.2.0", "clone": "^0.1.17", - "esprima": "^1.2.2", + "esprima-fb": "^10001.1.0-dev-harmony-fb", "file-position": "0.0.0", "is-require": "0.0.1", "resolve": "^0.7.1",