Files
react-native-image-viewing/example/metro.config.js
T
2019-11-28 15:03:46 +01:00

23 lines
504 B
JavaScript

/**
* Copyright (c) JOB TODAY S.A. 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.
*
*/
const path = require("path");
module.exports = {
resolver: {
extraNodeModules: new Proxy(
{},
{
get: (target, name) => path.join(process.cwd(), `node_modules/${name}`)
}
)
},
projectRoot: [path.resolve(__dirname)],
watchFolders: [path.resolve(__dirname, "../src")]
};