hacked basepath to save sourcemap in web root