mirror of
https://github.com/status-im/metro.git
synced 2025-01-27 11:24:45 +00:00
Stop pulling inlineRequiresPlugin from babel-bridge
Reviewed By: mjesun Differential Revision: D7788850 fbshipit-source-id: 1a401f626a2e32ffeb68c6126e040f29a8507697
This commit is contained in:
parent
6b222c394f
commit
e4198ec268
@ -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,
|
||||
|
@ -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');
|
||||
|
Loading…
x
Reference in New Issue
Block a user