Enable CORS for legacy bundle loading (#18248)

This commit is contained in:
Steve Repsher
2023-10-16 14:40:15 -04:00
committed by GitHub
parent 3b2f6d71f5
commit d88831b719
2 changed files with 4 additions and 2 deletions

View File

@@ -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