www-apps/gitlab-ce:

added patch for the webpack config, hopefully fixing the emerge --config phase

Package-Manager: portage-2.3.3
This commit is contained in:
Manuel Friedli 2017-02-26 13:22:32 +01:00
parent a1dec61c24
commit 00feec949c
4 changed files with 22 additions and 2 deletions

View file

@ -0,0 +1,13 @@
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;