Skip to content

Commit

Permalink
Revert "Revert ast-types/fork changes to reinstate JSX types."
Browse files Browse the repository at this point in the history
This reverts commit 0598995.

When we no longer use ast-types, this won't matter, but that's waiting on
a relatively significant PR (standard-things#87).
  • Loading branch information
benjamn committed Mar 21, 2017
1 parent dbcb1d4 commit 6d5d4fd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/compiler.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
var hasOwn = Object.prototype.hasOwnProperty;
var assert = require("assert");
var types = require("ast-types");
var types = require("ast-types/fork")([
require("ast-types/def/esprima"),
require("ast-types/def/babel6-core")
]);

var n = types.namedTypes;
var b = types.builders;
var MagicString = require("magic-string/dist/magic-string.cjs.js");
Expand Down

0 comments on commit 6d5d4fd

Please sign in to comment.