feat(web): workflow Safari browser compatibility

This commit is contained in:
zhaoying
2026-04-28 12:12:19 +08:00
parent 62af9cd241
commit 8476f3b7a8
8 changed files with 560 additions and 277 deletions

View File

@@ -44,6 +44,9 @@ export default defineConfig({
resolve: {
alias: {
'@': resolve(__dirname, 'src'),
'x6-html-shape': resolve(__dirname, 'src/vendor/x6-html-shape/index.js'),
'x6-html-shape/dist/react': resolve(__dirname, 'src/vendor/x6-html-shape/react.js'),
'x6-html-shape/dist/utils.js': resolve(__dirname, 'src/vendor/x6-html-shape/utils.js'),
},
},
base: './', // 使用相对路径,确保资源能正确加载