mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-02-06 17:27:54 +08:00
Pass in platform argument in offline building
Summary: how did this ever work? All build jobs must pass in the platform argument. This also turns the "platform" argument into a required one. I added a task to infer the platform argument from the filename here: t8306875 Reviewed By: @martinbigio Differential Revision: D2425114
This commit is contained in:
committed by
facebook-github-bot-0
parent
89b7bd4e5e
commit
cd4e8a9fae
2
packager/react-packager/src/Server/index.js
vendored
2
packager/react-packager/src/Server/index.js
vendored
@@ -92,7 +92,7 @@ const bundleOpts = declareOpts({
|
||||
},
|
||||
platform: {
|
||||
type: 'string',
|
||||
required: false,
|
||||
required: true,
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user