Skip to content
Snippets Groups Projects
Commit 9f38d3db authored by Stan Hu's avatar Stan Hu Committed by GitLab Release Tools Bot
Browse files

Merge branch 'revert-e4b2c3b0' into 'master'

Revert "Merge branch 'fix-ide-web-worker-relative-url' into 'master'"

Closes #60217

See merge request gitlab-org/gitlab-ce!26066

(cherry picked from commit 5cc1d2f1)

596d5fa2 Revert "Merge branch 'fix-ide-web-worker-relative-url' into 'master'"
parent 9fc4c249
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -6,5 +6,11 @@ export function resetServiceWorkersPublicPath() {
// see: https://webpack.js.org/guides/public-path/
const relativeRootPath = (gon && gon.relative_url_root) || '';
const webpackAssetPath = `${relativeRootPath}/assets/webpack/`;
__webpack_public_path__ = webpackAssetPath; // eslint-disable-line camelcase
// monaco-editor-webpack-plugin currently (incorrectly) references the
// public path as a property of `window`. Once this is fixed upstream we
// can remove this line
// see: https://github.com/Microsoft/monaco-editor-webpack-plugin/pull/63
window.__webpack_public_path__ = webpackAssetPath; // eslint-disable-line
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment