summaryrefslogtreecommitdiffhomepage
path: root/gui/rn-cli.config.js
diff options
context:
space:
mode:
authorAndrej Mihajlov <and@mullvad.net>2018-07-18 15:07:37 +0200
committerAndrej Mihajlov <and@mullvad.net>2018-08-15 17:39:38 +0200
commit71592249b2dd669b6f24f37bfb7b0f4e43b74998 (patch)
treea6097dc7e5d94d06e99c65fdfe160e824395f50c /gui/rn-cli.config.js
parente84e87f4ce5a8c242f756566cdc6fb59a45f7bea (diff)
downloadmullvadvpn-71592249b2dd669b6f24f37bfb7b0f4e43b74998.tar.xz
mullvadvpn-71592249b2dd669b6f24f37bfb7b0f4e43b74998.zip
Add workspaces
Diffstat (limited to 'gui/rn-cli.config.js')
-rw-r--r--gui/rn-cli.config.js14
1 files changed, 14 insertions, 0 deletions
diff --git a/gui/rn-cli.config.js b/gui/rn-cli.config.js
new file mode 100644
index 0000000000..dd126ee7ca
--- /dev/null
+++ b/gui/rn-cli.config.js
@@ -0,0 +1,14 @@
+const path = require('path');
+
+console.log('React-native CLI is running at: ', __dirname);
+
+module.exports = {
+ getProjectRoots() {
+ return [
+ path.resolve(__dirname, 'packages/mobile'),
+ path.resolve(__dirname, 'packages/components/'),
+ path.resolve(__dirname, 'packages/mobile/node_modules'),
+ path.resolve(__dirname, 'node_modules'),
+ ];
+ }
+}