2017-06-28 16:15:50 -04:00
|
|
|
/**
|
|
|
|
* This is the first script loaded by webpack's runtime. It is used to manually configure
|
2017-06-28 22:57:35 -04:00
|
|
|
* config.output.publicPath to account for relative_url_root or CDN settings which cannot be
|
|
|
|
* baked-in to our webpack bundles.
|
2021-06-16 14:10:35 -04:00
|
|
|
*
|
|
|
|
* 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-06-28 16:15:50 -04:00
|
|
|
*/
|
|
|
|
|
2017-06-28 22:57:35 -04:00
|
|
|
if (gon && gon.webpack_public_path) {
|
2020-02-03 04:08:42 -05:00
|
|
|
__webpack_public_path__ = gon.webpack_public_path; // eslint-disable-line babel/camelcase
|
2017-06-28 16:15:50 -04:00
|
|
|
}
|