File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414 "check:watch" : " svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch" ,
1515 "format" : " prettier --write ." ,
1616 "lint" : " prettier --check . && eslint --ignore-pattern .svelte-kit/output ." ,
17- "postbuild" : " svelte-sitemap --domain https://torrust.com/" ,
1817 "update-contributors" : " tsx scripts/updateContributors.ts" ,
1918 "pre-commit" : " bash scripts/pre-commit.sh" ,
2019 "prepare" : " git config core.hooksPath .githooks && chmod +x .githooks/pre-commit"
Original file line number Diff line number Diff line change 11import { sveltekit } from '@sveltejs/kit/vite' ;
2+ import { svelteSitemap } from 'svelte-sitemap/vite' ;
23import tailwindcss from '@tailwindcss/vite' ;
34import path from 'path' ;
45import type { UserConfig } from 'vite' ;
@@ -9,6 +10,7 @@ const config: UserConfig = {
910 plugins : [
1011 tailwindcss ( ) ,
1112 sveltekit ( ) ,
13+ svelteSitemap ( { domain : 'https://torrust.com/' } ) ,
1214 ViteImagemin ( {
1315 gifsicle : { optimizationLevel : 3 } ,
1416 optipng : { optimizationLevel : 5 } ,
You can’t perform that action at this time.
0 commit comments