diff --git a/front/package.json b/front/package.json index d9b2934eb..6892b154c 100644 --- a/front/package.json +++ b/front/package.json @@ -21,6 +21,7 @@ "preview.local": "vite --config vite.local.config.js preview", "postbuild.l": "npx -y -q svelte-sitemap -i '404.html' -i '/404/index.html' -i 'shingle.html' -i '/shingle/index.html' -i '/posts/category/index.html' -i '**/cv/*/**' -t --attribution=false --domain https://local.dgrebb.com", "postbuild.s": "npx -y -q svelte-sitemap -i '404.html' -i '/404/index.html' -i 'shingle.html' -i '/shingle/index.html' -i '/cv/*/**' -t --attribution=false --domain https://stg.dgrebb.com", + "postbuild.p": "npx -y -q svelte-sitemap -i '404.html' -i '/404/index.html' -i 'shingle.html' -i '/shingle/index.html' -i '/cv/*/**' -t --attribution=false --domain https://www.dgrebb.com", "postbuild": "npx -y -q svelte-sitemap -i '404.html' -i '/404/index.html' -i 'shingle.html' -i '/shingle/index.html' -i '/cv/*/**' -t --attribution=false --domain https://www.dgrebb.com", "format": "prettier --write .", "test.all": "npm run test.integration && npm run test.unit", diff --git a/front/vite.config.js b/front/vite.config.js index 0a6ea1a14..a080e34c2 100644 --- a/front/vite.config.js +++ b/front/vite.config.js @@ -1,7 +1,5 @@ -import { bundleStats } from 'rollup-plugin-bundle-stats'; import { sveltekit } from '@sveltejs/kit/vite'; import path from 'path'; -import { visualizer } from 'rollup-plugin-visualizer'; import Icons from 'unplugin-icons/vite'; import { defineConfig } from 'vite'; import postcss from './postcss.config.js'; @@ -31,28 +29,6 @@ export default defineConfig({ Icons({ compiler: 'svelte', }), - visualizer({ - sourcemap: true, - template: 'treemap', - filename: '.report/stats.html', - }), - visualizer({ - sourcemap: true, - template: 'network', - filename: '.report/network.html', - }), - visualizer({ - sourcemap: true, - template: 'sunburst', - filename: '.report/sunburst.html', - }), - bundleStats({ - outDir: '../../../.report/bundle/current', - compare: true, - baselineFilepath: '../../../.report/bundle/previous/bundle-stats.json', - json: true, - html: true, - }), sveltekit(), ], });