diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-08-31 03:07:06 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-08-31 03:07:06 +0300 |
commit | a3df40b2c393e1540d237938240ee12d2774cd13 (patch) | |
tree | e37c37374aabe93db474e85fe2615f88dbbd0566 /app/assets/javascripts/webpack.js | |
parent | c34d58a898c8e3c6d70609e2e6e4329df40c5aad (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 } |