Stop pulling externalHelpersPlugin from babel-bridge

Reviewed By: mjesun

Differential Revision: D7788848

fbshipit-source-id: 0c8787f097c9526de49a95554c2e28782cc4a077
This commit is contained in:
Peter van der Zee 2018-05-02 10:06:42 -07:00 committed by Facebook Github Bot
parent dfc30f0352
commit 6b222c394f
2 changed files with 1 additions and 3 deletions

View File

@ -13,7 +13,6 @@
// This is a temporary migration bridge to switch between babel 6 and 7
const externalHelpersPlugin7 = require('babel-plugin-external-helpers');
const inlineRequiresPlugin7 = require('babel-preset-fbjs/plugins/inline-requires');
const makeHMRConfig7 = makeMakeHMRConfig7();
@ -47,7 +46,6 @@ function resolvePlugins7(plugins: Array<any>) {
}
module.exports = {
externalHelpersPlugin: externalHelpersPlugin7,
inlineRequiresPlugin: inlineRequiresPlugin7,
makeHMRConfig: makeHMRConfig7,
resolvePlugins: resolvePlugins7,

View File

@ -12,11 +12,11 @@
'use strict';
const crypto = require('crypto');
const externalHelpersPlugin = require('babel-plugin-external-helpers');
const fs = require('fs');
const json5 = require('json5');
const path = require('path');
const {externalHelpersPlugin} = require('./babel-bridge');
const {getPreset} = require('./babel-bridge');
const {inlineRequiresPlugin} = require('./babel-bridge');
const {makeHMRConfig} = require('./babel-bridge');