react-native-flip
Version:
34 lines (30 loc) • 804 B
Flow
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
* @format
*/
;
module.exports = (async () => {
const defaultConfig = await require('./index')('/path/to/project');
const validConfig = {
...defaultConfig,
resolver: {
...defaultConfig.resolver,
resolveRequest: function CustomResolver() {},
hasteImplModulePath: './path',
},
transformer: {
...defaultConfig.transformer,
getTransformOptions: function getTransformOptions() {},
},
serializer: {
...defaultConfig.serializer,
customSerializer: function customSerializer() {},
},
};
return validConfig;
}: () => any);