mirror of
https://github.com/status-im/react-native.git
synced 2025-01-13 11:05:21 +00:00
ebf5aeab28
Summary: @public Let's get rid of the "unbundle" terminology and instead use "RAM bundle", short for "Random Access Bundle" format. THIS IS A BREAKING CHANGE FOR OSS, as the command becomes `ram-bundle` instead of `unbundle`. It realy shouldn't be a command to start with (only a "format" specifier for the `bundle` command), but I don't want to do that change at this point. Reviewed By: davidaurelio Differential Revision: D8894433 fbshipit-source-id: 5565f9ae94c7c2d7f6b25f95ae45b64f27f6aec8
31 lines
846 B
JavaScript
31 lines
846 B
JavaScript
/**
|
|
* Copyright (c) 2015-present, Facebook, Inc.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*
|
|
* @format
|
|
*/
|
|
|
|
'use strict';
|
|
|
|
const bundleCommandLineArgs = require('./bundleCommandLineArgs');
|
|
|
|
module.exports = {
|
|
name: 'unbundle',
|
|
description: 'Deprecated. Renamed to `ram-bundle`.',
|
|
func: () => {
|
|
throw new Error(
|
|
'The `unbundle` command has been renamed `ram-bundle` to better ' +
|
|
'represent the actual functionality. `ram` mean "Random Access ' +
|
|
'Module", this particular format of bundle. Functionality remained ' +
|
|
'unchanged.',
|
|
);
|
|
},
|
|
options: bundleCommandLineArgs.concat({
|
|
command: '--indexed-unbundle',
|
|
description: 'Deprecated. Renamed to `--indexed-ram-bundle`.',
|
|
default: false,
|
|
}),
|
|
};
|