diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-06-16 21:10:35 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-06-16 21:10:35 +0300 |
commit | 3597fb6d337baab5847863feedc98b433fb4000c (patch) | |
tree | 7c2cf77f03fc2dc43af4198bdddc75221edacaac /app/assets/javascripts/webpack.js | |
parent | ec4abad65d774cfc94110577589d44de5da825de (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, 3 insertions, 0 deletions
diff --git a/app/assets/javascripts/webpack.js b/app/assets/javascripts/webpack.js index 4f558843357..b901f17790f 100644 --- a/app/assets/javascripts/webpack.js +++ b/app/assets/javascripts/webpack.js @@ -2,6 +2,9 @@ * 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) { |