summaryrefslogtreecommitdiff
path: root/config/webpack.config.js
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2017-06-14 15:08:02 -0500
committerMike Greiling <mike@pixelcog.com>2017-06-28 13:04:34 -0500
commit3f3993c3d3da135ef32ba0abbff66d910a189bb6 (patch)
treec49a93c4ea40f7f397d9c7aabc63b324f219d11d /config/webpack.config.js
parentb37923235bd67542d8f7a02a08c710b6ef3b339d (diff)
downloadgitlab-ce-3f3993c3d3da135ef32ba0abbff66d910a189bb6.tar.gz
dynamically set webpack publicPath when relative_url_root enabled
Diffstat (limited to 'config/webpack.config.js')
-rw-r--r--config/webpack.config.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/config/webpack.config.js b/config/webpack.config.js
index 2e8c94655c1..39e665d5c14 100644
--- a/config/webpack.config.js
+++ b/config/webpack.config.js
@@ -244,7 +244,6 @@ if (IS_DEV_SERVER) {
hot: DEV_SERVER_LIVERELOAD,
inline: DEV_SERVER_LIVERELOAD
};
- config.output.publicPath = '//' + DEV_SERVER_HOST + ':' + DEV_SERVER_PORT + config.output.publicPath;
config.plugins.push(
// watch node_modules for changes if we encounter a missing module compile error
new WatchMissingNodeModulesPlugin(path.join(ROOT_PATH, 'node_modules'))