diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-08-11 18:09:30 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-08-11 18:09:30 +0300 |
commit | ce4562ad642c2c2b504dc322d9c7a1fdbf30cb83 (patch) | |
tree | 71f641fd95cab65ae14bd942c9b5dfda13f090f2 /app/assets/javascripts/webpack.js | |
parent | 29549d052d62b949830873f76b6c77d97cbd533d (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/webpack.js')
-rw-r--r-- | app/assets/javascripts/webpack.js | 3 |
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 } |