debian-mirror-gitlab/app/assets/javascripts/webpack.js

13 lines
531 B
JavaScript
Raw Normal View History

2017-09-10 17:25:29 +05:30
/**
* 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.
2021-09-04 01:27:46 +05:30
*
* 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.
2017-09-10 17:25:29 +05:30
*/
if (gon && gon.webpack_public_path) {
2020-03-09 13:42:32 +05:30
__webpack_public_path__ = gon.webpack_public_path; // eslint-disable-line babel/camelcase
2017-09-10 17:25:29 +05:30
}