overleaf/services/web/frontend/js/utils/webpack-public-path.js
Alf Eaton 94641f737c Merge pull request #4243 from overleaf/as-fix-webpack-public-path
Configure webpack public path for gallery search bundle, fixing translations failing to load

GitOrigin-RevId: e785ccac2bbba7ff9d929730c6ea84249f6db109
2021-06-24 02:06:54 +00:00

6 lines
273 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
// eslint-disable-next-line no-undef, camelcase
__webpack_public_path__ = getMeta('ol-baseAssetPath')