UNPKG

@martinpham/react-360-keyboard-camera-controller

Version:

Provide Keyboard Camera Controller for your React 360 project. Now you can navigate inside 3D world using your arrow keys.

37 lines (29 loc) 590 B
'use strict'; var path = require('path'); var blacklist = require('metro-bundler/src/blacklist'); var config = { getProjectRoots() { return getRoots(); }, getBlacklistRE() { return blacklist([ ]); }, getAssetExts() { return ['obj', 'mtl']; }, getPlatforms() { return ['vr']; }, getProvidesModuleNodeModules() { return ['react-native', 'react-360']; }, }; function getRoots() { var root = process.env.REACT_NATIVE_APP_ROOT; if (root) { return [path.resolve(root)]; } return [path.resolve(__dirname)]; } module.exports = config;