diff --git a/build-scripts/webpack.cjs b/build-scripts/webpack.cjs index 5997e59d58d2..985036313abc 100644 --- a/build-scripts/webpack.cjs +++ b/build-scripts/webpack.cjs @@ -194,6 +194,7 @@ const createWebpackConfig = ({ isProdBuild && !isStatsBuild ? "[id]-[contenthash].js" : "[name].js", assetModuleFilename: isProdBuild && !isStatsBuild ? "[id]-[contenthash][ext]" : "[id][ext]", + crossOriginLoading: "use-credentials", hashFunction: "xxhash64", hashDigest: "base64url", hashDigestLength: 11, // full length of 64 bit base64url diff --git a/src/html/_js_base.html.template b/src/html/_js_base.html.template index 06ae256045cb..9ad8a1c3873b 100644 --- a/src/html/_js_base.html.template +++ b/src/html/_js_base.html.template @@ -1,8 +1,9 @@