nicolium: do not output bundle stats by default
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
2
.github/workflows/nicolium.yaml
vendored
2
.github/workflows/nicolium.yaml
vendored
@ -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
|
||||
|
||||
|
||||
@ -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",
|
||||
|
||||
@ -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: [
|
||||
|
||||
Reference in New Issue
Block a user