gentoo-overlay/www-apps/gitlab-ce/files/06-gitlab-ce-8.17-fix-webpack-config.patch
Manuel Friedli 00feec949c www-apps/gitlab-ce:
added patch for the webpack config, hopefully fixing the emerge --config phase

Package-Manager: portage-2.3.3
2017-02-26 13:22:32 +01:00

13 lines
614 B
Diff

diff --git a/config/webpack.config.js b/config/webpack.config.js
index d1bf9c6..210c871 100644
--- a/config/webpack.config.js
+++ b/config/webpack.config.js
@@ -6,7 +6,7 @@ var webpack = require('webpack');
var StatsPlugin = require('stats-webpack-plugin');
var CompressionPlugin = require('compression-webpack-plugin');
-var ROOT_PATH = path.resolve(__dirname, '..');
+var ROOT_PATH = '/opt/gitlab';
var IS_PRODUCTION = process.env.NODE_ENV === 'production';
var IS_DEV_SERVER = process.argv[1].indexOf('webpack-dev-server') !== -1;
var DEV_SERVER_PORT = parseInt(process.env.DEV_SERVER_PORT, 10) || 3808;