From 772749c4fc827731b8ff498946df83f6f428507f Mon Sep 17 00:00:00 2001 From: DAB0mB Date: Thu, 20 Apr 2017 19:56:23 -0200 Subject: [PATCH] Read config from root instead of cwd --- lib/bundler.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bundler.js b/lib/bundler.js index 1aaf0fc..36887e6 100644 --- a/lib/bundler.js +++ b/lib/bundler.js @@ -26,7 +26,7 @@ function bundle(options) { Path.resolve(nodeModulesDir, "meteor-client.js"); var configFile = options.config ? Path.resolve(cwd, options.config) : - Path.resolve(cwd, "meteor-client.config.json"); + Path.resolve(rootDir, "meteor-client.config.json"); // A temporary dir where the temporary Meteor project is gonna be created var tempDir = Tmp.dirSync({ unsafeCleanup: true }).name;