aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/config/paths.js
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2016-11-28 18:13:00 +0100
committerStas Vilchik <vilchiks@gmail.com>2016-12-07 14:36:18 +0100
commit673b03c6f68593f4e27675e709f2ce20831e0d98 (patch)
tree30ee597d3a3e1a0bcf5eff9a7859d1084c32d435 /server/sonar-web/config/paths.js
parenta2d0b4ee581e86b474a47e16095e7500c404e37d (diff)
downloadsonarqube-673b03c6f68593f4e27675e709f2ce20831e0d98.tar.gz
sonarqube-673b03c6f68593f4e27675e709f2ce20831e0d98.zip
SONAR-8448 generate index.html during the build
Diffstat (limited to 'server/sonar-web/config/paths.js')
-rw-r--r--server/sonar-web/config/paths.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/server/sonar-web/config/paths.js b/server/sonar-web/config/paths.js
index 0ce56b422a5..3773a6a6439 100644
--- a/server/sonar-web/config/paths.js
+++ b/server/sonar-web/config/paths.js
@@ -45,10 +45,14 @@ var nodePaths = (process.env.NODE_PATH || '')
// config after eject: we're in ./config/
module.exports = {
- appBuild: resolveApp('src/main/webapp/js/bundles'),
+ appBuild: resolveApp('src/main/webapp'),
+ appPublic: resolveApp('public'),
+ appHtml: resolveApp('public/index.html'),
appPackageJson: resolveApp('package.json'),
appSrc: resolveApp('src/main/js'),
+ jsBuild: resolveApp('src/main/webapp/js'),
cssBuild: resolveApp('src/main/webapp/css'),
+ htmlBuild: resolveApp('src/main/webapp/index.html'),
appNodeModules: resolveApp('node_modules'),
ownNodeModules: resolveApp('node_modules'),
nodePaths: nodePaths