gentoo-overlay/www-apps/gitlab-ce/files/06-gitlab-ce-8.17-fix-webpack-config.patch

14 lines
614 B
Diff
Raw Normal View History

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;