All files / app/assets/javascripts webpack.js

50% Statements 1/2
60% Branches 3/5
100% Functions 0/0
50% Lines 1/2

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14                    2x      
/**
 * 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.
 */
 
// eslint-disable-next-line camelcase
Iif (gon && gon.webpack_public_path && typeof __webpack_public_path__ !== 'undefined') {
  __webpack_public_path__ = gon.webpack_public_path; // eslint-disable-line camelcase
}