remove runtime compatibility check - closes #1266

This commit is contained in:
Sebastian McKenzie 2015-04-15 15:03:45 -07:00
parent fcb78436c6
commit 9a825bced7

View File

@ -156,16 +156,3 @@ export default function (opts = {}) {
extend(transformOpts, opts);
};
//
try {
var runtimePackage = require("babel-runtime/package");
var version = require("../../../../package").version;
if (runtimePackage.version !== version) {
throw new ReferenceError(`The verison of babel-runtime of ${runtimePackage.runtime} that you have installed does not match the babel verison of ${version}`);
}
} catch (err) {
if (err.code !== "MODULE_NOT_FOUND") throw err;
}