mirror of https://github.com/status-im/metro.git
[reactnative] remove platform option from oss packager
This commit is contained in:
parent
84f498cd2b
commit
dbdf7f366f
|
@ -1,17 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Copyright (c) 2015-present, Facebook, Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# This source code is licensed under the BSD-style license found in the
|
||||
# LICENSE file in the root directory of this source tree. An additional grant
|
||||
# of patent rights can be found in the PATENTS file in the same directory.
|
||||
|
||||
# Set terminal title
|
||||
echo -en "\033]0;React Packager\a"
|
||||
clear
|
||||
|
||||
THIS_DIR=$(dirname "$0")
|
||||
$THIS_DIR/packager.sh --platform android --port 8082
|
||||
echo "Process terminated. Press <enter> to close the window"
|
||||
read
|
|
@ -48,11 +48,6 @@ var options = parseCommandLine([{
|
|||
command: 'assetRoots',
|
||||
type: 'string',
|
||||
description: 'specify the root directories of app assets'
|
||||
}, {
|
||||
command: 'platform',
|
||||
type: 'string',
|
||||
default: 'ios',
|
||||
description: 'Specify the platform-specific blacklist (ios, android, web).'
|
||||
}, {
|
||||
command: 'skipflow',
|
||||
description: 'Disable flow checks'
|
||||
|
@ -229,7 +224,7 @@ function getAppMiddleware(options) {
|
|||
return ReactPackager.middleware({
|
||||
nonPersistent: options.nonPersistent,
|
||||
projectRoots: options.projectRoots,
|
||||
blacklistRE: blacklist(options.platform),
|
||||
blacklistRE: blacklist(),
|
||||
cacheVersion: '2',
|
||||
transformModulePath: transformerPath,
|
||||
assetRoots: options.assetRoots,
|
||||
|
|
Loading…
Reference in New Issue