me
/
ethanreece.com
Archived
1
0
Fork 0

Add optimization plugins

main
Ethan Reece 2023-05-31 19:44:50 -05:00
parent ce57be6f01
commit b26b7f26ce
Signed by: me
GPG Key ID: D3993665FF92E1C3
3 changed files with 105 additions and 2 deletions

View File

@ -1,9 +1,21 @@
import { defineConfig } from 'astro/config'
import tailwind from '@astrojs/tailwind'
import { astroImageTools } from 'astro-imagetools'
import robotsTxt from 'astro-robots-txt'
import sitemap from '@astrojs/sitemap'
import prefetch from '@astrojs/prefetch'
import partytown from '@astrojs/partytown'
// https://astro.build/config
export default defineConfig({
integrations: [tailwind(), astroImageTools],
site: 'https://ethanreece.com',
integrations: [
tailwind(),
astroImageTools,
robotsTxt(),
sitemap(),
prefetch(),
partytown(),
],
})

View File

@ -10,10 +10,14 @@
"astro": "astro"
},
"dependencies": {
"@astrojs/partytown": "^1.2.3",
"@astrojs/prefetch": "^0.2.3",
"@astrojs/sitemap": "^1.3.2",
"@astrojs/tailwind": "^3.1.3",
"@fontsource-variable/jetbrains-mono": "^5.0.3",
"astro": "^2.5.6",
"astro-imagetools": "^0.8.1",
"astro-robots-txt": "^0.5.0",
"astro-seo": "^0.7.2",
"sharp": "^0.32.1",
"tailwindcss": "^3.3.2",

View File

@ -5,6 +5,15 @@ settings:
excludeLinksFromLockfile: false
dependencies:
'@astrojs/partytown':
specifier: ^1.2.3
version: 1.2.3
'@astrojs/prefetch':
specifier: ^0.2.3
version: 0.2.3
'@astrojs/sitemap':
specifier: ^1.3.2
version: 1.3.2
'@astrojs/tailwind':
specifier: ^3.1.3
version: 3.1.3(astro@2.5.6)(tailwindcss@3.3.2)
@ -17,6 +26,9 @@ dependencies:
astro-imagetools:
specifier: ^0.8.1
version: 0.8.1(astro@2.5.6)
astro-robots-txt:
specifier: ^0.5.0
version: 0.5.0
astro-seo:
specifier: ^0.7.2
version: 0.7.2
@ -130,6 +142,19 @@ packages:
- supports-color
dev: false
/@astrojs/partytown@1.2.3:
resolution: {integrity: sha512-EYdeFfSEe5RTQsz+6Mxb9JLJWztZEOw0yjAxoDbntCdTkxDCnIwqRAhUwftx+zWsh+JIw1hOkLRNN8QOmwBiqA==}
dependencies:
'@builder.io/partytown': 0.7.6
mrmime: 1.0.1
dev: false
/@astrojs/prefetch@0.2.3:
resolution: {integrity: sha512-r51t4fkGcePA6FHFVDD5vC/whhoKWFSaKNug/4Z2FSKZZga9yjb2qDcrul7u32nVDN+30ywZ/RQAmBMrHOmLiw==}
dependencies:
throttles: 1.0.1
dev: false
/@astrojs/prism@2.1.2:
resolution: {integrity: sha512-3antim1gb34689GHRQFJ88JEo93HuZKQBnmxDT5W/nxiNz1p/iRxnCTEhIbJhqMOTRbbo5h2ldm5qSxx+TMFQA==}
engines: {node: '>=16.12.0'}
@ -137,6 +162,13 @@ packages:
prismjs: 1.29.0
dev: false
/@astrojs/sitemap@1.3.2:
resolution: {integrity: sha512-zZXU3Pr3OeSYtOfmph/k0SrQXqS3zjiH9yqyukRXMMKybhAKcMkMVI2f7N4Oo2ywqbSoaNRE9sGNQyTvBwSBZw==}
dependencies:
sitemap: 7.1.1
zod: 3.21.4
dev: false
/@astrojs/tailwind@3.1.3(astro@2.5.6)(tailwindcss@3.3.2):
resolution: {integrity: sha512-10S1omrv5K5HRVAZ0fBgN5vQykn2HRL332LAVFyBASMn1Ff6gDfSK+CPUeUu94eZUOEaPnECLK8EHAqZ8iY9CA==}
peerDependencies:
@ -416,6 +448,11 @@ packages:
to-fast-properties: 2.0.0
dev: false
/@builder.io/partytown@0.7.6:
resolution: {integrity: sha512-snXIGNiZpqjno3XYQN2lbBB+05hsQR/LSttbtIW1c0gmZ7Kh/DIo0YrxlDxCDulAMFPFM8J+4voLwvYepSj3sw==}
hasBin: true
dev: false
/@emmetio/abbreviation@2.3.3:
resolution: {integrity: sha512-mgv58UrU3rh4YgbE/TzgLQwJ3pFsHHhCLqY20aJq+9comytTXUDNGG/SMtSeMJdkpxgXSXunBGLD8Boka3JyVA==}
dependencies:
@ -1215,6 +1252,10 @@ packages:
resolution: {integrity: sha512-QpLcX9ZSsq3YYUUnD3nFDY8H7wctAhQj/TFKL8Ya8v5fMm3CFXxo8zStsLAl780ltoYoo1WvKUVGBQK+1ifr7g==}
dev: false
/@types/node@17.0.45:
resolution: {integrity: sha512-w+tIMs3rq2afQdsPJlODhoUEKzFP1ayaoyl1CcnwtIlsVe7K7bA1NGm4s3PraqTLlXnbIN84zuBlxBWo1u9BLw==}
dev: false
/@types/parse5@6.0.3:
resolution: {integrity: sha512-SuT16Q1K51EAVPz1K29DJ/sXjhSQ0zjvsypYJ6tlwVsRV9jwW5Adq2ch8Dq8kDBCkYnELS7N7VNCSB5nC56t/g==}
dev: false
@ -1223,6 +1264,12 @@ packages:
resolution: {integrity: sha512-60BCwRFOZCQhDncwQdxxeOEEkbc5dIMccYLwbxsS4TUNeVECQ/pBJ0j09mrHOl/JJvpRPGwO9SvE4nR2Nb/a4Q==}
dev: false
/@types/sax@1.2.4:
resolution: {integrity: sha512-pSAff4IAxJjfAXUG6tFkO7dsSbTmf8CtUpfhhZ5VhkRpC4628tJhh3+V6H1E+/Gs9piSzYKT5yzHO5M4GG9jkw==}
dependencies:
'@types/node': 17.0.45
dev: false
/@types/unist@2.0.6:
resolution: {integrity: sha512-PBjIUxZHOuj0R15/xuwJYjFi+KZdNFrehocChv4g5hu6aFroHue8m0lBP0POdK2nKzbw0cgV1mws8+V/JAcEkQ==}
dev: false
@ -1495,6 +1542,13 @@ packages:
imagetools-core: 3.0.2
dev: false
/astro-robots-txt@0.5.0:
resolution: {integrity: sha512-MJDcxBDjEKSp7Uvw32cnmkPHlmjQ/pW5JwzMhKEegFRoGaiSh2i1kkh1QEhk1UpGnAsSondWCoIt2xpG8qjSgA==}
dependencies:
valid-filename: 4.0.0
zod: 3.21.4
dev: false
/astro-seo@0.7.2:
resolution: {integrity: sha512-YnSqj4E6vbF7wRk3gcxOPHBjenhfgaINEJlTsnu4sovAyfyGEdQksbioYKoZ+vERRDaYvEricfSzC6fc9lieww==}
dev: false
@ -2717,6 +2771,11 @@ packages:
engines: {node: '>=6'}
dev: false
/filename-reserved-regex@3.0.0:
resolution: {integrity: sha512-hn4cQfU6GOT/7cFHXBqeBg2TbrMBgdD0kcjLhvSQYYwm3s4B6cjvBfb7nBALJLAXqmU5xajSa7X2NnUud/VCdw==}
engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}
dev: false
/fill-range@7.0.1:
resolution: {integrity: sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==}
engines: {node: '>=8'}
@ -4071,6 +4130,11 @@ packages:
engines: {node: '>=4'}
dev: false
/mrmime@1.0.1:
resolution: {integrity: sha512-hzzEagAgDyoU1Q6yg5uI+AorQgdvMCur3FcKf7NhMKWsaYg+RnbTyHRa/9IlLF9rf455MOCtcqqrQQ83pPP7Uw==}
engines: {node: '>=10'}
dev: false
/ms@2.1.2:
resolution: {integrity: sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==}
@ -5364,6 +5428,17 @@ packages:
resolution: {integrity: sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==}
dev: false
/sitemap@7.1.1:
resolution: {integrity: sha512-mK3aFtjz4VdJN0igpIJrinf3EO8U8mxOPsTBzSsy06UtjZQJ3YY3o3Xa7zSc5nMqcMrRwlChHZ18Kxg0caiPBg==}
engines: {node: '>=12.0.0', npm: '>=5.6.0'}
hasBin: true
dependencies:
'@types/node': 17.0.45
'@types/sax': 1.2.4
arg: 5.0.2
sax: 1.2.4
dev: false
/slash@3.0.0:
resolution: {integrity: sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==}
engines: {node: '>=8'}
@ -5701,6 +5776,11 @@ packages:
dependencies:
any-promise: 1.3.0
/throttles@1.0.1:
resolution: {integrity: sha512-fab7Xg+zELr9KOv4fkaBoe/b3L0GMGLd0IBSCn16GoE/Qx6/OfCr1eGNyEcDU2pUA79qQfZ8kPQWlRuok4YwTw==}
engines: {node: '>=6'}
dev: false
/timm@1.7.1:
resolution: {integrity: sha512-IjZc9KIotudix8bMaBW6QvMuq64BrJWFs1+4V0lXwWGQZwH+LnX87doAYhem4caOEusRP9/g6jVDQmZ8XOk1nw==}
dev: false
@ -5939,6 +6019,13 @@ packages:
sade: 1.8.1
dev: false
/valid-filename@4.0.0:
resolution: {integrity: sha512-VEYTpTVPMgO799f2wI7zWf0x2C54bPX6NAfbZ2Z8kZn76p+3rEYCTYVYzMUcVSMvakxMQTriBf24s3+WeXJtEg==}
engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}
dependencies:
filename-reserved-regex: 3.0.0
dev: false
/vfile-location@4.1.0:
resolution: {integrity: sha512-YF23YMyASIIJXpktBa4vIGLJ5Gs88UB/XePgqPmTa7cDA+JeO3yclbpheQYCHjVHBn/yePzrXuygIL+xbvRYHw==}
dependencies: