diff --git a/vite.config.ts b/vite.config.ts index 8973a10..697ffea 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -41,10 +41,6 @@ export default ({ command, mode }: ConfigEnv): UserConfig => { plugins: [ viteRouteGenerator(), - viteGenerateSitemap(), - - vitePrerender(), - /** * format * baseUrl @@ -98,7 +94,11 @@ export default ({ command, mode }: ConfigEnv): UserConfig => { iconDirs: [resolve('./src/assets/svgs')], symbolId: 'icon-[dir]-[name]', svgoOptions: true - }) + }), + + viteGenerateSitemap(), + + vitePrerender() ], resolve: { alias: [