chore: add crossorigin="anonymous" to umi.js (#40184)

https://umijs.org/docs/api/config#crossorigin
This commit is contained in:
afc163 2023-01-12 11:17:04 +08:00 committed by GitHub
parent 481710ecae
commit 36d1916a1b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,6 +10,7 @@ export default defineConfig({
},
ssr: process.env.NODE_ENV === 'production' ? {} : false,
hash: true,
crossorigin: {},
outputPath: '_site',
favicons: ['https://gw.alipayobjects.com/zos/rmsportal/rlpTLlbMzTNYuZGGCVYM.png'],
resolve: {