diff --git a/.github/workflows/nicolium.yaml b/.github/workflows/nicolium.yaml
index f0b3b4f2a..ba1f3d7f4 100644
--- a/.github/workflows/nicolium.yaml
+++ b/.github/workflows/nicolium.yaml
@@ -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 web.nicolium.app." 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 web.nicolium.app." WITH_LANDING_PAGE=true ANALYZE=true pnpm build
cp dist/index.html dist/404.html
cp nicolium.zip dist/pl-fe.zip
diff --git a/packages/nicolium/package.json b/packages/nicolium/package.json
index 24dfe2e3d..92a56a157 100644
--- a/packages/nicolium/package.json
+++ b/packages/nicolium/package.json
@@ -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",
diff --git a/packages/nicolium/vite.config.ts b/packages/nicolium/vite.config.ts
index 615355b8f..7090e4d39 100644
--- a/packages/nicolium/vite.config.ts
+++ b/packages/nicolium/vite.config.ts
@@ -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: [