mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 02:37:05 +02:00
fix: add env and remove compressors
This commit is contained in:
1 parent
9258623931
commit
c06c338536
2 files changed
+13
-21
No files matched your search
@@ -50,6 +50,7 @@ env:
|
||||
PATREON_CLIENT_SECRET: ${{ secrets.PATREON_CLIENT_SECRET }}
|
||||
PUBLIC_NITROPAY_ID: ${{ secrets.PUBLIC_NITROPAY_ID }}
|
||||
PUBLIC_DEBUG_MISSING_I18N: false
|
||||
PUBLIC_DISCORD_SERVER_ID: ${{ secrets.PUBLIC_DISCORD_SERVER_ID }}
|
||||
|
||||
jobs:
|
||||
download_client:
|
||||
|
||||
@@ -1,16 +1,14 @@
|
||||
// @ts-check
|
||||
|
||||
import partytown from '@astrojs/partytown';
|
||||
import react from '@astrojs/react';
|
||||
import sitemap from '@astrojs/sitemap';
|
||||
import { SUPPORTED_LOCALES } from '@blitzkit/i18n';
|
||||
import playformInline from '@playform/inline';
|
||||
import compressor from 'astro-compressor';
|
||||
import { defineConfig } from 'astro/config';
|
||||
import partytown from "@astrojs/partytown";
|
||||
import react from "@astrojs/react";
|
||||
import sitemap from "@astrojs/sitemap";
|
||||
import { SUPPORTED_LOCALES } from "@blitzkit/i18n";
|
||||
import { defineConfig } from "astro/config";
|
||||
|
||||
export default defineConfig({
|
||||
i18n: {
|
||||
defaultLocale: 'en',
|
||||
defaultLocale: "en",
|
||||
locales: [...SUPPORTED_LOCALES],
|
||||
routing: {
|
||||
prefixDefaultLocale: false,
|
||||
@@ -18,24 +16,17 @@ export default defineConfig({
|
||||
},
|
||||
|
||||
devToolbar: { enabled: false },
|
||||
output: 'static',
|
||||
site: 'https://blitzkit.app',
|
||||
outDir: '../../dist/website',
|
||||
output: "static",
|
||||
site: "https://blitzkit.app",
|
||||
outDir: "../../dist/website",
|
||||
prefetch: true,
|
||||
|
||||
integrations: [
|
||||
react(),
|
||||
sitemap(),
|
||||
partytown(),
|
||||
// playformCompress(),
|
||||
// compressor(),
|
||||
playformInline(),
|
||||
],
|
||||
integrations: [react(), sitemap(), partytown()],
|
||||
vite: {
|
||||
resolve: {
|
||||
alias: {
|
||||
'.prisma/client/index-browser':
|
||||
'../../node_modules/.prisma/client/index-browser.js',
|
||||
".prisma/client/index-browser":
|
||||
"../../node_modules/.prisma/client/index-browser.js",
|
||||
},
|
||||
},
|
||||
ssr: {
|
||||
|
||||
Reference in new issue
Block a user