2020-04-13 13:49:04 +05:30
|
|
|
Debian specific patch to help webpack find sources
|
|
|
|
|
2017-08-23 09:38:10 +05:30
|
|
|
--- a/config/webpack.config.js
|
|
|
|
+++ b/config/webpack.config.js
|
2021-04-17 20:43:06 +05:30
|
|
|
@@ -20,7 +20,7 @@
|
|
|
|
|
|
|
|
const MonacoWebpackPlugin = require('./plugins/monaco_webpack');
|
2017-08-23 09:38:10 +05:30
|
|
|
|
2018-03-27 20:24:05 +05:30
|
|
|
-const ROOT_PATH = path.resolve(__dirname, '..');
|
|
|
|
+const ROOT_PATH = '/usr/share/gitlab';
|
2020-01-01 14:36:02 +05:30
|
|
|
const VENDOR_DLL = process.env.WEBPACK_VENDOR_DLL && process.env.WEBPACK_VENDOR_DLL !== 'false';
|
2018-12-13 14:23:24 +05:30
|
|
|
const CACHE_PATH = process.env.WEBPACK_CACHE_PATH || path.join(ROOT_PATH, 'tmp/cache');
|
2018-03-27 20:24:05 +05:30
|
|
|
const IS_PRODUCTION = process.env.NODE_ENV === 'production';
|