1 | "use strict";
|
2 |
|
3 | Object.defineProperty(exports, "__esModule", {
|
4 | value: true
|
5 | });
|
6 | exports.withOutput = exports.default = void 0;
|
7 |
|
8 | var _buildBundle = _interopRequireDefault(require("./buildBundle"));
|
9 |
|
10 | var _bundleCommandLineArgs = _interopRequireDefault(require("./bundleCommandLineArgs"));
|
11 |
|
12 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
13 |
|
14 |
|
15 |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 |
|
25 | function bundleWithOutput(_, config, args, output) // untyped metro/src/shared/output/bundle or metro/src/shared/output/RamBundle
|
26 | {
|
27 | return (0, _buildBundle.default)(args, config, output);
|
28 | }
|
29 |
|
30 | var _default = {
|
31 | name: 'bundle',
|
32 | description: 'builds the javascript bundle for offline use',
|
33 | func: bundleWithOutput,
|
34 | options: _bundleCommandLineArgs.default,
|
35 |
|
36 | withOutput: bundleWithOutput
|
37 | };
|
38 | exports.default = _default;
|
39 | const withOutput = bundleWithOutput;
|
40 | exports.withOutput = withOutput; |
\ | No newline at end of file |