支持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

@ -2,5 +2,5 @@ import { defineConfig } from 'vite';
import earth from 'vite-plugin-earth';
export default defineConfig({
plugins: [earth()]
plugins: [earth({ useCDN: {} })]
});