This commit is contained in:
@@ -5,31 +5,38 @@ import node from "@astrojs/node";
|
|||||||
import tailwindcss from "@tailwindcss/vite";
|
import tailwindcss from "@tailwindcss/vite";
|
||||||
import icon from "astro-icon";
|
import icon from "astro-icon";
|
||||||
import yeskunallumami from "@yeskunall/astro-umami";
|
import yeskunallumami from "@yeskunall/astro-umami";
|
||||||
import partytown from "@astrojs/partytown";
|
|
||||||
|
|
||||||
// https://astro.build/config
|
const isDev = process.env.NODE_ENV === "development";
|
||||||
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
output: "server",
|
output: "server",
|
||||||
prefetch: true,
|
|
||||||
build: {
|
build: {
|
||||||
inlineStylesheets: "always",
|
inlineStylesheets: "auto",
|
||||||
},
|
},
|
||||||
integrations: [
|
integrations: [
|
||||||
vue(),
|
vue(),
|
||||||
icon(),
|
icon(),
|
||||||
partytown(),
|
|
||||||
yeskunallumami({
|
yeskunallumami({
|
||||||
id: "c7e24af4-5f14-4881-9c25-85a97abda9f1",
|
id: "c7e24af4-5f14-4881-9c25-85a97abda9f1",
|
||||||
hostUrl: "https://analytics.atri.dad",
|
hostUrl: "https://analytics.atri.dad",
|
||||||
withPartytown: true,
|
|
||||||
}),
|
}),
|
||||||
],
|
],
|
||||||
|
|
||||||
security: {
|
security: {
|
||||||
csp: {
|
|
||||||
algorithm: "SHA-512",
|
|
||||||
},
|
|
||||||
checkOrigin: true,
|
checkOrigin: true,
|
||||||
|
|
||||||
|
csp: isDev
|
||||||
|
? undefined
|
||||||
|
: {
|
||||||
|
algorithm: "SHA-512",
|
||||||
|
scriptDirective: {
|
||||||
|
resources: ["'self'", "https://analytics.atri.dad"],
|
||||||
|
},
|
||||||
|
directives: [
|
||||||
|
"connect-src 'self' https://analytics.atri.dad",
|
||||||
|
"child-src 'self' blob:",
|
||||||
|
],
|
||||||
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
adapter: node({
|
adapter: node({
|
||||||
|
|||||||
@@ -10,7 +10,6 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@astrojs/node": "10.0.0-beta.0",
|
"@astrojs/node": "10.0.0-beta.0",
|
||||||
"@astrojs/partytown": "^2.1.4",
|
|
||||||
"@astrojs/vue": "6.0.0-beta.0",
|
"@astrojs/vue": "6.0.0-beta.0",
|
||||||
"@fontsource-variable/inter": "^5.2.8",
|
"@fontsource-variable/inter": "^5.2.8",
|
||||||
"@fontsource-variable/roboto-slab": "^5.2.8",
|
"@fontsource-variable/roboto-slab": "^5.2.8",
|
||||||
|
|||||||
26
pnpm-lock.yaml
generated
26
pnpm-lock.yaml
generated
@@ -11,9 +11,6 @@ importers:
|
|||||||
'@astrojs/node':
|
'@astrojs/node':
|
||||||
specifier: 10.0.0-beta.0
|
specifier: 10.0.0-beta.0
|
||||||
version: 10.0.0-beta.0(astro@6.0.0-beta.6(@types/node@25.1.0)(jiti@2.6.1)(lightningcss@1.30.2)(rollup@4.57.1)(typescript@5.7.3)(yaml@2.7.0))
|
version: 10.0.0-beta.0(astro@6.0.0-beta.6(@types/node@25.1.0)(jiti@2.6.1)(lightningcss@1.30.2)(rollup@4.57.1)(typescript@5.7.3)(yaml@2.7.0))
|
||||||
'@astrojs/partytown':
|
|
||||||
specifier: ^2.1.4
|
|
||||||
version: 2.1.4
|
|
||||||
'@astrojs/vue':
|
'@astrojs/vue':
|
||||||
specifier: 6.0.0-beta.0
|
specifier: 6.0.0-beta.0
|
||||||
version: 6.0.0-beta.0(@types/node@25.1.0)(astro@6.0.0-beta.6(@types/node@25.1.0)(jiti@2.6.1)(lightningcss@1.30.2)(rollup@4.57.1)(typescript@5.7.3)(yaml@2.7.0))(jiti@2.6.1)(lightningcss@1.30.2)(rollup@4.57.1)(vue@3.5.27(typescript@5.7.3))(yaml@2.7.0)
|
version: 6.0.0-beta.0(@types/node@25.1.0)(astro@6.0.0-beta.6(@types/node@25.1.0)(jiti@2.6.1)(lightningcss@1.30.2)(rollup@4.57.1)(typescript@5.7.3)(yaml@2.7.0))(jiti@2.6.1)(lightningcss@1.30.2)(rollup@4.57.1)(vue@3.5.27(typescript@5.7.3))(yaml@2.7.0)
|
||||||
@@ -89,9 +86,6 @@ packages:
|
|||||||
peerDependencies:
|
peerDependencies:
|
||||||
astro: ^6.0.0-alpha.0
|
astro: ^6.0.0-alpha.0
|
||||||
|
|
||||||
'@astrojs/partytown@2.1.4':
|
|
||||||
resolution: {integrity: sha512-loUrAu0cGYFDC6dHVRiomdsBJ41VjDYXPA+B3Br51V5hENFgDSOLju86OIj1TvBACcsB22UQV7BlppODDG5gig==}
|
|
||||||
|
|
||||||
'@astrojs/prism@4.0.0-beta.2':
|
'@astrojs/prism@4.0.0-beta.2':
|
||||||
resolution: {integrity: sha512-3snR85nTXnXvgmFJ43AacCQcylk+mpsiQ5Gmr9hcR5IrEA6+EvaYfaF9jlxZqJIZYey/9ubSRmaERtwDhV/FeA==}
|
resolution: {integrity: sha512-3snR85nTXnXvgmFJ43AacCQcylk+mpsiQ5Gmr9hcR5IrEA6+EvaYfaF9jlxZqJIZYey/9ubSRmaERtwDhV/FeA==}
|
||||||
engines: {node: ^20.19.1 || >=22.12.0}
|
engines: {node: ^20.19.1 || >=22.12.0}
|
||||||
@@ -752,11 +746,6 @@ packages:
|
|||||||
'@polka/url@1.0.0-next.29':
|
'@polka/url@1.0.0-next.29':
|
||||||
resolution: {integrity: sha512-wwQAWhWSuHaag8c4q/KN/vCoeOJYshAIvMQwD4GpSb3OiZklFfvAgmj0VCBBImRpuF/aFgIRzllXlVX93Jevww==}
|
resolution: {integrity: sha512-wwQAWhWSuHaag8c4q/KN/vCoeOJYshAIvMQwD4GpSb3OiZklFfvAgmj0VCBBImRpuF/aFgIRzllXlVX93Jevww==}
|
||||||
|
|
||||||
'@qwik.dev/partytown@0.11.2':
|
|
||||||
resolution: {integrity: sha512-795y49CqBiKiwKAD+QBZlzlqEK275hVcazZ7wBPSfgC23L+vWuA7PJmMpgxojOucZHzYi5rAAQ+IP1I3BKVZxw==}
|
|
||||||
engines: {node: '>=18.0.0'}
|
|
||||||
hasBin: true
|
|
||||||
|
|
||||||
'@rolldown/pluginutils@1.0.0-rc.2':
|
'@rolldown/pluginutils@1.0.0-rc.2':
|
||||||
resolution: {integrity: sha512-izyXV/v+cHiRfozX62W9htOAvwMo4/bXKDrQ+vom1L1qRuexPock/7VZDAhnpHCLNejd3NJ6hiab+tO0D44Rgw==}
|
resolution: {integrity: sha512-izyXV/v+cHiRfozX62W9htOAvwMo4/bXKDrQ+vom1L1qRuexPock/7VZDAhnpHCLNejd3NJ6hiab+tO0D44Rgw==}
|
||||||
|
|
||||||
@@ -1416,10 +1405,6 @@ packages:
|
|||||||
domutils@3.2.2:
|
domutils@3.2.2:
|
||||||
resolution: {integrity: sha512-6kZKyUajlDuqlHKVX1w7gyslj9MPIXzIFiz/rGu35uC1wMi+kMhQwGhl4lt9unC9Vb9INnY9Z3/ZA3+FhASLaw==}
|
resolution: {integrity: sha512-6kZKyUajlDuqlHKVX1w7gyslj9MPIXzIFiz/rGu35uC1wMi+kMhQwGhl4lt9unC9Vb9INnY9Z3/ZA3+FhASLaw==}
|
||||||
|
|
||||||
dotenv@16.6.1:
|
|
||||||
resolution: {integrity: sha512-uBq4egWHTcTt33a72vpSG0z3HnPuIl6NqYcTrKEg2azoEyl2hpW0zqlxysq2pK9HlDIHyHyakeYaYnSAwd8bow==}
|
|
||||||
engines: {node: '>=12'}
|
|
||||||
|
|
||||||
dset@3.1.4:
|
dset@3.1.4:
|
||||||
resolution: {integrity: sha512-2QF/g9/zTaPDc3BjNcVTGoBbXBgYfMTTceLaYcFJ/W9kggFUkhxD/hMEeuLKbugyef9SqAx8cpgwlIP/jinUTA==}
|
resolution: {integrity: sha512-2QF/g9/zTaPDc3BjNcVTGoBbXBgYfMTTceLaYcFJ/W9kggFUkhxD/hMEeuLKbugyef9SqAx8cpgwlIP/jinUTA==}
|
||||||
engines: {node: '>=4'}
|
engines: {node: '>=4'}
|
||||||
@@ -2733,11 +2718,6 @@ snapshots:
|
|||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- supports-color
|
- supports-color
|
||||||
|
|
||||||
'@astrojs/partytown@2.1.4':
|
|
||||||
dependencies:
|
|
||||||
'@qwik.dev/partytown': 0.11.2
|
|
||||||
mrmime: 2.0.1
|
|
||||||
|
|
||||||
'@astrojs/prism@4.0.0-beta.2':
|
'@astrojs/prism@4.0.0-beta.2':
|
||||||
dependencies:
|
dependencies:
|
||||||
prismjs: 1.30.0
|
prismjs: 1.30.0
|
||||||
@@ -3300,10 +3280,6 @@ snapshots:
|
|||||||
|
|
||||||
'@polka/url@1.0.0-next.29': {}
|
'@polka/url@1.0.0-next.29': {}
|
||||||
|
|
||||||
'@qwik.dev/partytown@0.11.2':
|
|
||||||
dependencies:
|
|
||||||
dotenv: 16.6.1
|
|
||||||
|
|
||||||
'@rolldown/pluginutils@1.0.0-rc.2': {}
|
'@rolldown/pluginutils@1.0.0-rc.2': {}
|
||||||
|
|
||||||
'@rollup/pluginutils@5.3.0(rollup@4.57.1)':
|
'@rollup/pluginutils@5.3.0(rollup@4.57.1)':
|
||||||
@@ -4017,8 +3993,6 @@ snapshots:
|
|||||||
domelementtype: 2.3.0
|
domelementtype: 2.3.0
|
||||||
domhandler: 5.0.3
|
domhandler: 5.0.3
|
||||||
|
|
||||||
dotenv@16.6.1: {}
|
|
||||||
|
|
||||||
dset@3.1.4: {}
|
dset@3.1.4: {}
|
||||||
|
|
||||||
ee-first@1.1.1: {}
|
ee-first@1.1.1: {}
|
||||||
|
|||||||
Reference in New Issue
Block a user