支持cdn方式打包

This commit is contained in:
2023-03-28 15:11:58 +08:00
parent 38621cb3ee
commit 306bca5d3c
7 changed files with 145 additions and 116 deletions

View File

@ -4,7 +4,8 @@ import earth from 'vite-plugin-earth';
export default defineConfig({
plugins: [
earth({
useMars3D: true
useMars3D: true,
useCDN: { mars3d: '3.5.1' }
})
]
});