mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 14:13:43 +01:00
Set workerPublicPath in webpack config (#20629)
GitOrigin-RevId: 3fba33a6b52bf2a91f3126efc9d76f6f1dfbc1c4
This commit is contained in:
@@ -1,9 +0,0 @@
|
||||
export const createWorker = callback => {
|
||||
if (process.env.CYPRESS) {
|
||||
return callback()
|
||||
}
|
||||
const webpackPublicPath = __webpack_public_path__
|
||||
__webpack_public_path__ = '/'
|
||||
callback()
|
||||
__webpack_public_path__ = webpackPublicPath
|
||||
}
|
||||
Reference in New Issue
Block a user