commit for merge

This commit is contained in:
Jiao77
2025-10-21 01:12:01 +08:00
parent 3099de1bb8
commit 31cdb8d6a8
3 changed files with 11 additions and 1 deletions

View File

@@ -6,5 +6,15 @@ export default defineConfig({
output: 'static',
build: {
assets: 'assets'
},
vite: {
// 减少来自依赖项的警告噪音
define: {
'process.env.NODE_ENV': JSON.stringify('production')
},
// 抑制未使用导入的警告
ssr: {
noExternal: []
}
}
});

View File

@@ -231,7 +231,7 @@ const reportConfig = {
</style>
<script>
import { initEDAVenuesInteractive } from './eda-venues-interactive';
import { initEDAVenuesInteractive } from '../../../scripts/eda-venues/interactive';
document.addEventListener('DOMContentLoaded', () => {
// 初始化交互功能