Pass in localRoot for build-app-commonjs