Skip to content

Commit

Permalink
/ [node-haste] Remove support for asynchronous dependencies (`System.…
Browse files Browse the repository at this point in the history
…import`)

Summary:
public
Remove the unused feature for async dependencies / bundle layouts. We can bring it back later, if needed.

Reviewed By: cpojer

Differential Revision: D2916543

fb-gh-sync-id: 3a3890f10d7d275a4cb9371a6e9cace601a82b2c
shipit-source-id: 3a3890f10d7d275a4cb9371a6e9cace601a82b2c
  • Loading branch information
davidaurelio authored and facebook-github-bot-4 committed Feb 10, 2016
1 parent de3b942 commit 7c03b16
Show file tree
Hide file tree
Showing 19 changed files with 10 additions and 1,551 deletions.
12 changes: 0 additions & 12 deletions packager/react-packager/src/Bundler/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ const fs = require('fs');
const path = require('path');
const Promise = require('promise');
const ProgressBar = require('progress');
const BundlesLayout = require('../BundlesLayout');
const Cache = require('../DependencyResolver/Cache');
const Transformer = require('../JSTransformer');
const Resolver = require('../Resolver');
Expand Down Expand Up @@ -126,13 +125,6 @@ class Bundler {
cache: this._cache,
});

this._bundlesLayout = new BundlesLayout({
dependencyResolver: this._resolver,
resetCache: opts.resetCache,
cacheVersion: opts.cacheVersion,
projectRoots: opts.projectRoots,
});

this._transformer = new Transformer({
projectRoots: opts.projectRoots,
blacklistRE: opts.blacklistRE,
Expand All @@ -156,10 +148,6 @@ class Bundler {
return this._cache.end();
}

getLayout(main, isDev) {
return this._bundlesLayout.generateLayout(main, isDev);
}

bundle(options) {
const {dev, isUnbundle, platform} = options;
const moduleSystemDeps =
Expand Down

This file was deleted.

Loading

0 comments on commit 7c03b16

Please sign in to comment.