/* global __webpack_public_path__ __foobarify_should_reload__ window */
/* eslint-disable */
// remove trailing slash from webpack public path
// see https://github.com/glenjamin/webpack-hot-middleware/issues/154
const tmpPublicPath = window.__webpack_public_path__
window.__webpack_public_path__ = window.__webpack_public_path__.replace(/\/$/, '')
const client = require('webpack-hot-middleware/client?dynamicPublicPath=true')
// and add the trailing slash again so we don't run into issue with webpack itself...
window.__webpack_public_path__ = tmpPublicPath

// Entry points sets this to true if no modules accepted the HMR
window.__foobarify_should_reload__ = false

client.subscribe((event) => {
  if (event.action === 'shopify_upload_finished') {
    // Reload either if the serve force's our hand or if the entry point module
    if (event.force || __foobarify_should_reload__) {
      window.location.reload()
    }
  }
})

@@ -1,8 +1,29 @@
+/* eslint-disable */%0A
 /* globa
@@ -86,37 +86,16 @@
 ndow */%0A
-/* eslint-disable */%0A
 // remov
@@ -228,23 +228,16 @@
 cPath = 
-window.
 __webpac
@@ -252,23 +252,16 @@
 _path__%0A
-window.
 __webpac
@@ -278,23 +278,16 @@
 ath__ = 
-window.
 __webpac
@@ -486,23 +486,16 @@
 self...%0A
-window.
 __webpac

__webpack_public_path__ is not on window