mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 03:59:50 +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 }}
|
PATREON_CLIENT_SECRET: ${{ secrets.PATREON_CLIENT_SECRET }}
|
||||||
PUBLIC_NITROPAY_ID: ${{ secrets.PUBLIC_NITROPAY_ID }}
|
PUBLIC_NITROPAY_ID: ${{ secrets.PUBLIC_NITROPAY_ID }}
|
||||||
PUBLIC_DEBUG_MISSING_I18N: false
|
PUBLIC_DEBUG_MISSING_I18N: false
|
||||||
|
PUBLIC_DISCORD_SERVER_ID: ${{ secrets.PUBLIC_DISCORD_SERVER_ID }}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
download_client:
|
download_client:
|
||||||
|
|||||||
@@ -1,16 +1,14 @@
|
|||||||
// @ts-check
|
// @ts-check
|
||||||
|
|
||||||
import partytown from '@astrojs/partytown';
|
import partytown from "@astrojs/partytown";
|
||||||
import react from '@astrojs/react';
|
import react from "@astrojs/react";
|
||||||
import sitemap from '@astrojs/sitemap';
|
import sitemap from "@astrojs/sitemap";
|
||||||
import { SUPPORTED_LOCALES } from '@blitzkit/i18n';
|
import { SUPPORTED_LOCALES } from "@blitzkit/i18n";
|
||||||
import playformInline from '@playform/inline';
|
import { defineConfig } from "astro/config";
|
||||||
import compressor from 'astro-compressor';
|
|
||||||
import { defineConfig } from 'astro/config';
|
|
||||||
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
i18n: {
|
i18n: {
|
||||||
defaultLocale: 'en',
|
defaultLocale: "en",
|
||||||
locales: [...SUPPORTED_LOCALES],
|
locales: [...SUPPORTED_LOCALES],
|
||||||
routing: {
|
routing: {
|
||||||
prefixDefaultLocale: false,
|
prefixDefaultLocale: false,
|
||||||
@@ -18,24 +16,17 @@ export default defineConfig({
|
|||||||
},
|
},
|
||||||
|
|
||||||
devToolbar: { enabled: false },
|
devToolbar: { enabled: false },
|
||||||
output: 'static',
|
output: "static",
|
||||||
site: 'https://blitzkit.app',
|
site: "https://blitzkit.app",
|
||||||
outDir: '../../dist/website',
|
outDir: "../../dist/website",
|
||||||
prefetch: true,
|
prefetch: true,
|
||||||
|
|
||||||
integrations: [
|
integrations: [react(), sitemap(), partytown()],
|
||||||
react(),
|
|
||||||
sitemap(),
|
|
||||||
partytown(),
|
|
||||||
// playformCompress(),
|
|
||||||
// compressor(),
|
|
||||||
playformInline(),
|
|
||||||
],
|
|
||||||
vite: {
|
vite: {
|
||||||
resolve: {
|
resolve: {
|
||||||
alias: {
|
alias: {
|
||||||
'.prisma/client/index-browser':
|
".prisma/client/index-browser":
|
||||||
'../../node_modules/.prisma/client/index-browser.js',
|
"../../node_modules/.prisma/client/index-browser.js",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
ssr: {
|
ssr: {
|
||||||
|
|||||||
Reference in new issue
Block a user