From 439f1d229d44ca63423b2e383dc7e42f058badca Mon Sep 17 00:00:00 2001 From: Sebastian Sdorra Date: Fri, 11 Oct 2019 14:26:57 +0200 Subject: [PATCH] fix polyfil bundle reference --- scm-ui/scripts/webpack.config.js | 2 +- scm-ui/ui-webapp/public/index.mustache | 2 +- yarn.lock | 7 ++++++- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/scm-ui/scripts/webpack.config.js b/scm-ui/scripts/webpack.config.js index 2707432be2..d823cda795 100644 --- a/scm-ui/scripts/webpack.config.js +++ b/scm-ui/scripts/webpack.config.js @@ -113,7 +113,7 @@ module.exports = [{ }, { context: path.resolve(__dirname, ".."), entry: { - polyfill: "./ui-polyfill/src/index.js" + polyfills: "./ui-polyfill/src/index.js" }, output: { path: path.resolve(__dirname, "..", "target", "assets"), diff --git a/scm-ui/ui-webapp/public/index.mustache b/scm-ui/ui-webapp/public/index.mustache index bfb9f5fe3c..64846128a1 100644 --- a/scm-ui/ui-webapp/public/index.mustache +++ b/scm-ui/ui-webapp/public/index.mustache @@ -22,7 +22,7 @@ if ( !modernBrowser ) { var scriptElement = document.createElement("script"); scriptElement.async = false; - scriptElement.src = "{{ contextPath }}/polyfills.bundle.js"; + scriptElement.src = "{{ contextPath }}/assets/polyfills.bundle.js"; document.head.appendChild(scriptElement); } diff --git a/yarn.lock b/yarn.lock index e818b97d66..cc475af9fd 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2516,6 +2516,11 @@ babel-code-frame@^6.22.0: esutils "^2.0.2" js-tokens "^3.0.2" +babel-core@7.0.0-bridge.0: + version "7.0.0-bridge.0" + resolved "https://registry.yarnpkg.com/babel-core/-/babel-core-7.0.0-bridge.0.tgz#95a492ddd90f9b4e9a4a1da14eb335b87b634ece" + integrity sha512-poPX9mZH/5CSanm50Q+1toVci6pv5KSRv/5TWCwtzQS5XEwn40BcCrgIeMFWP9CKKIniKXNxoIOnOq4VVlGXhg== + babel-eslint@^10.0.3: version "10.0.3" resolved "https://registry.yarnpkg.com/babel-eslint/-/babel-eslint-10.0.3.tgz#81a2c669be0f205e19462fed2482d33e4687a88a" @@ -5855,7 +5860,7 @@ getpass@^0.1.1: dependencies: assert-plus "^1.0.0" -gitdiff-parser@^0.1.2: +gitdiff-parser@^0.1.2, "gitdiff-parser@https://github.com/cloudogu/gitdiff-parser#3a72da4a8e3d9bfb4b9e01a43e85628c19f26cc4": version "0.1.2" resolved "https://github.com/cloudogu/gitdiff-parser#3a72da4a8e3d9bfb4b9e01a43e85628c19f26cc4"