mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-30 05:15:20 -05:00
5e9af2c15c
GitOrigin-RevId: f373f4215e5f25d14256008cf5f6582eb3124431
9 lines
242 B
JavaScript
9 lines
242 B
JavaScript
export const createWorker = callback => {
|
|
if (process.env.CYPRESS) {
|
|
return callback()
|
|
}
|
|
const webpackPublicPath = __webpack_public_path__
|
|
__webpack_public_path__ = '/'
|
|
callback()
|
|
__webpack_public_path__ = webpackPublicPath
|
|
}
|