Skip to content

Commit 26888a5

Browse files
Jean Lauliacfacebook-github-bot
Jean Lauliac
authored andcommitted
local-cli: remove 'unbundle' naming in CLI (#21013)
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
1 parent 958186c commit 26888a5

File tree

3 files changed

+1
-32
lines changed

3 files changed

+1
-32
lines changed

bundle/ramBundle.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
const bundleWithOutput = require('./bundle').withOutput;
1313
const bundleCommandLineArgs = require('./bundleCommandLineArgs');
14-
const outputUnbundle = require('metro/src/shared/output/unbundle');
14+
const outputUnbundle = require('metro/src/shared/output/RamBundle');
1515

1616
/**
1717
* Builds the bundle starting to look for dependencies at the given entry path.

bundle/unbundle.js

Lines changed: 0 additions & 30 deletions
This file was deleted.

commands.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ const documentedCommands = [
4141
require('./runAndroid/runAndroid'),
4242
require('./library/library'),
4343
require('./bundle/bundle'),
44-
require('./bundle/unbundle'),
4544
require('./bundle/ramBundle'),
4645
require('./eject/eject'),
4746
require('./link/link'),

0 commit comments

Comments
 (0)