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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-08-31 03:07:06 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-08-31 03:07:06 +0300
commita3df40b2c393e1540d237938240ee12d2774cd13 (patch)
treee37c37374aabe93db474e85fe2615f88dbbd0566 /app/assets/javascripts/webpack.js
parentc34d58a898c8e3c6d70609e2e6e4329df40c5aad (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/webpack.js')
-rw-r--r--app/assets/javascripts/webpack.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/assets/javascripts/webpack.js b/app/assets/javascripts/webpack.js
index 1c6e632135d..ef82142289d 100644
--- a/app/assets/javascripts/webpack.js
+++ b/app/assets/javascripts/webpack.js
@@ -7,6 +7,7 @@
* e.g. the `window` scope, because it needs to be executed in the scope of webpack.
*/
-if (gon && gon.webpack_public_path) {
+// eslint-disable-next-line camelcase
+if (gon && gon.webpack_public_path && typeof __webpack_public_path__ !== 'undefined') {
__webpack_public_path__ = gon.webpack_public_path; // eslint-disable-line camelcase
}