2015-12-01 15:42:44 +00:00
|
|
|
/**
|
|
|
|
* Copyright (c) 2015-present, Facebook, Inc.
|
|
|
|
*
|
2018-02-17 02:24:55 +00:00
|
|
|
* This source code is licensed under the MIT license found in the
|
|
|
|
* LICENSE file in the root directory of this source tree.
|
2018-05-11 19:43:49 +00:00
|
|
|
*
|
|
|
|
* @format
|
2015-12-01 15:42:44 +00:00
|
|
|
*/
|
2018-05-11 19:43:49 +00:00
|
|
|
|
2016-11-14 19:12:24 +00:00
|
|
|
'use strict';
|
2015-12-01 15:42:44 +00:00
|
|
|
|
2016-07-30 15:59:16 +00:00
|
|
|
const bundleCommandLineArgs = require('./bundleCommandLineArgs');
|
2015-12-01 15:42:44 +00:00
|
|
|
|
2016-07-30 15:59:16 +00:00
|
|
|
module.exports = {
|
|
|
|
name: 'unbundle',
|
2018-07-20 16:17:21 +00:00
|
|
|
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.',
|
|
|
|
);
|
|
|
|
},
|
2016-11-17 10:36:00 +00:00
|
|
|
options: bundleCommandLineArgs.concat({
|
|
|
|
command: '--indexed-unbundle',
|
2018-07-20 16:17:21 +00:00
|
|
|
description: 'Deprecated. Renamed to `--indexed-ram-bundle`.',
|
2016-11-17 10:36:00 +00:00
|
|
|
default: false,
|
|
|
|
}),
|
2016-07-30 15:59:16 +00:00
|
|
|
};
|