MCPcopy Create free account
hub / github.com/remy/jsconsole / setup

Function setup

config/webpackDevServer.config.js:81–90  ·  view source on GitHub ↗
(app)

Source from the content-addressed store, hash-verified

79 public: allowedHost,
80 proxy,
81 setup(app) {
82 // This lets us open files from the runtime error overlay.
83 app.use(errorOverlayMiddleware());
84 // This service worker file is effectively a 'no-op' that will reset any
85 // previous service worker registered for the same host:port combination.
86 // We do this in development to avoid hitting the production cache if
87 // it used the same host and port.
88 // https://github.com/facebookincubator/create-react-app/issues/2272#issuecomment-302832432
89 app.use(noopServiceWorkerMiddleware());
90 },
91 };
92};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected