auth0 was breaking the build.
folder naming (using a file extension) was part of the issue. However there was another issue that occured when you attempt to uglify and minify the source. Have removed these steps for this module from the build process