resetServiceWorkersPublicPath breaks lazy imports on dev rspec

We reassign __webpack_public_path__ in lib/utils/webpack.js, which breaks lazy component imports. Found while testing an ee-only component with rspec feature test.

https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/14373/

For local tests we already have publicPath set for webpack-dev-server

Edited Jun 26, 2019 by Simon Knox
Assignee Loading
Time tracking Loading