mirror of https://github.com/status-im/metro.git
Stop pulling externalHelpersPlugin from babel-bridge
Reviewed By: mjesun Differential Revision: D7788848 fbshipit-source-id: 0c8787f097c9526de49a95554c2e28782cc4a077
This commit is contained in:
parent
dfc30f0352
commit
6b222c394f
|
@ -13,7 +13,6 @@
|
||||||
|
|
||||||
// This is a temporary migration bridge to switch between babel 6 and 7
|
// 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 inlineRequiresPlugin7 = require('babel-preset-fbjs/plugins/inline-requires');
|
||||||
|
|
||||||
const makeHMRConfig7 = makeMakeHMRConfig7();
|
const makeHMRConfig7 = makeMakeHMRConfig7();
|
||||||
|
@ -47,7 +46,6 @@ function resolvePlugins7(plugins: Array<any>) {
|
||||||
}
|
}
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
externalHelpersPlugin: externalHelpersPlugin7,
|
|
||||||
inlineRequiresPlugin: inlineRequiresPlugin7,
|
inlineRequiresPlugin: inlineRequiresPlugin7,
|
||||||
makeHMRConfig: makeHMRConfig7,
|
makeHMRConfig: makeHMRConfig7,
|
||||||
resolvePlugins: resolvePlugins7,
|
resolvePlugins: resolvePlugins7,
|
||||||
|
|
|
@ -12,11 +12,11 @@
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
const crypto = require('crypto');
|
const crypto = require('crypto');
|
||||||
|
const externalHelpersPlugin = require('babel-plugin-external-helpers');
|
||||||
const fs = require('fs');
|
const fs = require('fs');
|
||||||
const json5 = require('json5');
|
const json5 = require('json5');
|
||||||
const path = require('path');
|
const path = require('path');
|
||||||
|
|
||||||
const {externalHelpersPlugin} = require('./babel-bridge');
|
|
||||||
const {getPreset} = require('./babel-bridge');
|
const {getPreset} = require('./babel-bridge');
|
||||||
const {inlineRequiresPlugin} = require('./babel-bridge');
|
const {inlineRequiresPlugin} = require('./babel-bridge');
|
||||||
const {makeHMRConfig} = require('./babel-bridge');
|
const {makeHMRConfig} = require('./babel-bridge');
|
||||||
|
|
Loading…
Reference in New Issue