summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2017-06-28 15:15:50 -0500
committerMike Greiling <mike@pixelcog.com>2017-06-28 15:15:50 -0500
commit5b43aa955737f002be3d197c9f7b4d3374d0ad69 (patch)
treeca14bad39665cabec32ff531f56ddb27983ea3a3 /config
parent8bb2013279a0f9116c01374b55401f3ca0d51c24 (diff)
downloadgitlab-ce-5b43aa955737f002be3d197c9f7b4d3374d0ad69.tar.gz
move webpack publicPath setup earlier in the bootstrap processes to avoid ES module execution order issues
Diffstat (limited to 'config')
-rw-r--r--config/webpack.config.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/config/webpack.config.js b/config/webpack.config.js
index 39e665d5c14..a2e7a93d501 100644
--- a/config/webpack.config.js
+++ b/config/webpack.config.js
@@ -71,6 +71,7 @@ var config = {
vue_merge_request_widget: './vue_merge_request_widget/index.js',
test: './test.js',
peek: './peek.js',
+ webpack_runtime: './webpack.js',
},
output: {
@@ -189,7 +190,7 @@ var config = {
// create cacheable common library bundles
new webpack.optimize.CommonsChunkPlugin({
- names: ['main', 'locale', 'common', 'runtime'],
+ names: ['main', 'locale', 'common', 'webpack_runtime'],
}),
],