fix: 移除冲突的 node-polyfills(改用 CDN 加载 WebTorrent)+ 加 P2P 进度翻译与顶栏活动指示灯

This commit is contained in:
ice-a
2026-10-16 19:48:04 +08:00
parent 7e65ae975f
commit 895977626b
7 changed files with 90 additions and 15 deletions
-8
View File
@@ -1,5 +1,3 @@
import nodePolyfills from 'vite-plugin-node-polyfills'
export default defineNuxtConfig({
compatibilityDate: '2025-07-15',
devtools: { enabled: false },
@@ -29,12 +27,6 @@ export default defineNuxtConfig({
}
},
vite: {
plugins: [
nodePolyfills({
globals: { Buffer: true, global: true, process: true },
protocolImports: true
})
],
server: {
fs: { strict: false }
}