mirror of
https://github.com/Megghy/vtsuru.live.git
synced 2025-12-06 18:36:55 +08:00
fix: 取消naiveui外部依赖
This commit is contained in:
@@ -19,7 +19,6 @@
|
|||||||
<link rel="preconnect" href="https://rsms.me/" />
|
<link rel="preconnect" href="https://rsms.me/" />
|
||||||
<link rel="stylesheet" href="https://rsms.me/inter/inter.css" />
|
<link rel="stylesheet" href="https://rsms.me/inter/inter.css" />
|
||||||
<script async src="https://cdn.jsdelivr.net/npm/peerjs@latest/dist/peerjs.min.js"></script>
|
<script async src="https://cdn.jsdelivr.net/npm/peerjs@latest/dist/peerjs.min.js"></script>
|
||||||
<script src="https://unpkg.com/naive-ui/dist/index.prod.js"></script>
|
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|||||||
@@ -56,8 +56,5 @@ export default defineConfig({
|
|||||||
},
|
},
|
||||||
build: {
|
build: {
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
rollupOptions: {
|
|
||||||
external: [/^naive-ui($|\/)/, /^naive-ui\/es\/_internal($|\/)/]
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user