Move preludes and require.js files to lib folder

Reviewed By: jeanlauliac

Differential Revision: D6674423

fbshipit-source-id: e459e7e8c58b2282b8d341cf7a2d71429e7b7081
This commit is contained in:
Rafael Oleza 2018-01-09 17:40:57 -08:00 committed by Facebook Github Bot
parent bdaddb2585
commit 2ab9c268b1
7 changed files with 4 additions and 4 deletions

View File

@ -529,8 +529,8 @@ class DeltaTransformer extends EventEmitter {
_getModuleSystemDependencies() {
const prelude = this._bundleOptions.dev
? path.resolve(__dirname, '../Resolver/polyfills/prelude_dev.js')
: path.resolve(__dirname, '../Resolver/polyfills/prelude.js');
? path.resolve(__dirname, '../lib/polyfills/prelude_dev.js')
: path.resolve(__dirname, '../lib/polyfills/prelude.js');
const moduleSystem = defaults.moduleSystem;

View File

@ -45,7 +45,7 @@ exports.assetExts = [
exports.sourceExts = ['js', 'json'];
exports.moduleSystem = require.resolve('./Resolver/polyfills/require.js');
exports.moduleSystem = require.resolve('./lib/polyfills/require.js');
exports.platforms = ['ios', 'android', 'windows', 'web'];

View File

@ -23,7 +23,7 @@ const path = require('path');
jasmine.DEFAULT_TIMEOUT_INTERVAL = 30 * 1000;
const INPUT_PATH = path.resolve(__dirname, '../basic_bundle');
const POLYFILLS_PATH = path.resolve(__dirname, '../../Resolver/polyfills');
const POLYFILLS_PATH = path.resolve(__dirname, '../../lib/polyfills');
const ASSET_REGISTRY_PATH = path.resolve(
__dirname,
'../basic_bundle/AssetRegistry',