nicolium: do not output bundle stats by default

Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
nicole mikołajczyk
2026-03-22 16:48:23 +01:00
parent 2107d3a326
commit 976ed86799
3 changed files with 3 additions and 3 deletions

View File

@ -83,7 +83,7 @@ jobs:
NODE_ENV: production
working-directory: ./packages/nicolium
run: |
BANNER_HTML="pl.mkljczk.pl runs Nicolium's \`develop\` branch, which can break sometimes. For a more stable experience, use <a href=\"https://web.nicolium.app\" target=\"_blank\" rel=\"noopener noreferrer\">web.nicolium.app</a>." WITH_LANDING_PAGE=true pnpm build
BANNER_HTML="pl.mkljczk.pl runs Nicolium's \`develop\` branch, which can break sometimes. For a more stable experience, use <a href=\"https://web.nicolium.app\" target=\"_blank\" rel=\"noopener noreferrer\">web.nicolium.app</a>." WITH_LANDING_PAGE=true ANALYZE=true pnpm build
cp dist/index.html dist/404.html
cp nicolium.zip dist/pl-fe.zip

View File

@ -1,7 +1,7 @@
{
"name": "nicolium",
"displayName": "Nicolium",
"version": "0.1.0-rc.0",
"version": "0.1.0",
"description": "Mastodon-compatible social media front-end",
"keywords": [
"fediverse",

View File

@ -157,7 +157,6 @@ const config = defineConfig(() => ({
},
],
}),
bundleStats(),
{
name: 'mock-api',
configureServer(server) {
@ -171,6 +170,7 @@ const config = defineConfig(() => ({
});
},
},
...(process.env.ANALYZE === 'true' ? [bundleStats()] : []),
],
resolve: {
alias: [