diff options
author | Nick Schonning <nschonni@gmail.com> | 2023-04-03 06:41:10 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-03 12:41:10 +0200 |
commit | 373e4a8ff034f189597cfbf651450b906eb598b1 (patch) | |
tree | 3be5469d1aae6616fb2aa562fcc465b6dae20d38 /app/javascript/packs | |
parent | be230be734e5b8e33e6336771878c5840bc9216f (diff) |
Move ESLint configs to overrides (#24370)
Diffstat (limited to 'app/javascript/packs')
-rw-r--r-- | app/javascript/packs/public-path.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/javascript/packs/public-path.js b/app/javascript/packs/public-path.js index 539e3b8c4..f4d166a77 100644 --- a/app/javascript/packs/public-path.js +++ b/app/javascript/packs/public-path.js @@ -17,4 +17,5 @@ function formatPublicPath(host = '', path = '') { const cdnHost = document.querySelector('meta[name=cdn-host]'); +// eslint-disable-next-line no-undef __webpack_public_path__ = formatPublicPath(cdnHost ? cdnHost.content : '', process.env.PUBLIC_OUTPUT_PATH); |