Files
react-native-image-viewing/example/metro.config.js
T

23 lines
502 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")]
};