Welcome to mirror list, hosted at ThFree Co, Russian Federation.

webpack.js « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b901f17790ff6555115dc1716cce172d9e9b90b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/**
 * This is the first script loaded by webpack's runtime. It is used to manually configure
 * config.output.publicPath to account for relative_url_root or CDN settings which cannot be
 * baked-in to our webpack bundles.
 *
 * Note: This file should be at the top of an entry point and _cannot_ be moved to
 * e.g. the `window` scope, because it needs to be executed in the scope of webpack.
 */

if (gon && gon.webpack_public_path) {
  __webpack_public_path__ = gon.webpack_public_path; // eslint-disable-line babel/camelcase
}