overleaf/services/web/frontend/js/utils/webpack-public-path.js
Jakob Ackermann 9dccd6173a Merge pull request #4305 from overleaf/jpa-fix-undef
[misc] fix undefined references in all the places and enable lint rule

GitOrigin-RevId: 473dbab577b34f60d6a3fe567e29e13cb5b1cb24
2021-07-14 12:40:42 +00:00

5 lines
225 B
JavaScript

import getMeta from './meta'
// Configure dynamically loaded assets (via webpack) to be downloaded from CDN
// See: https://webpack.js.org/guides/public-path/#on-the-fly
__webpack_public_path__ = getMeta('ol-baseAssetPath')