Stop pulling inlineRequiresPlugin from babel-bridge

Reviewed By: mjesun

Differential Revision: D7788850

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

View File

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

View File

@ -14,11 +14,11 @@
const crypto = require('crypto');
const externalHelpersPlugin = require('babel-plugin-external-helpers');
const fs = require('fs');
const inlineRequiresPlugin = require('babel-preset-fbjs/plugins/inline-requires');
const json5 = require('json5');
const path = require('path');
const {getPreset} = require('./babel-bridge');
const {inlineRequiresPlugin} = require('./babel-bridge');
const {makeHMRConfig} = require('./babel-bridge');
const {resolvePlugins} = require('./babel-bridge');
const {transformSync} = require('@babel/core');