Skip to content

Commit

Permalink
local-cli: remove 'unbundle' naming in CLI (#21013)
Browse files Browse the repository at this point in the history
Summary:
This also relink the require() onto `RamBundle.js` from Metro so we can remove `unbundle.js` from there completely.
Pull Request resolved: facebook/react-native#21013

Reviewed By: hramos

Differential Revision: D9721443

Pulled By: jeanlauliac

fbshipit-source-id: 3e42ebde4cb2c735ef0934ba3b1e20f1054440df
  • Loading branch information
Jean Lauliac authored and facebook-github-bot committed Sep 7, 2018
1 parent 958186c commit 26888a5
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 32 deletions.
2 changes: 1 addition & 1 deletion bundle/ramBundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

const bundleWithOutput = require('./bundle').withOutput;
const bundleCommandLineArgs = require('./bundleCommandLineArgs');
const outputUnbundle = require('metro/src/shared/output/unbundle');
const outputUnbundle = require('metro/src/shared/output/RamBundle');

/**
* Builds the bundle starting to look for dependencies at the given entry path.
Expand Down
30 changes: 0 additions & 30 deletions bundle/unbundle.js

This file was deleted.

1 change: 0 additions & 1 deletion commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ const documentedCommands = [
require('./runAndroid/runAndroid'),
require('./library/library'),
require('./bundle/bundle'),
require('./bundle/unbundle'),
require('./bundle/ramBundle'),
require('./eject/eject'),
require('./link/link'),
Expand Down

0 comments on commit 26888a5

Please sign in to comment.