Skip to content

Commit

Permalink
chore: update astro
Browse files Browse the repository at this point in the history
  • Loading branch information
unional committed Nov 18, 2024
1 parent ef8a02f commit 15852e8
Show file tree
Hide file tree
Showing 5 changed files with 939 additions and 430 deletions.
5 changes: 4 additions & 1 deletion pages/astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ import solidJs from '@astrojs/solid-js'
// https://astro.build/config
export default defineConfig({
integrations: [
tailwind(),
tailwind({
configFile: './tailwind.config.ts',
}),
solidJs(),
starlight({
title: 'type-plus',
Expand Down Expand Up @@ -38,4 +40,5 @@ export default defineConfig({
],
}),
],
site: 'https://unional.github.io/type-plus/'
})
8 changes: 4 additions & 4 deletions pages/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
"astro": "astro"
},
"dependencies": {
"@astrojs/check": "^0.9.3",
"@astrojs/solid-js": "^4.4.2",
"@astrojs/check": "^0.9.4",
"@astrojs/solid-js": "^4.4.3",
"@astrojs/starlight": "^0.29.0",
"@astrojs/tailwind": "^5.1.1",
"astro": "^4.15.7",
"@astrojs/tailwind": "^5.1.2",
"astro": "^4.16.13",
"sharp": "^0.33.5",
"solid-js": "^1.8.22",
"tailwindcss": "^3.4.12"
Expand Down
5 changes: 5 additions & 0 deletions pages/tailwind.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import type { Config } from 'tailwindcss'

export default {
content: ['./src/**/*.{js,ts,jsx,tsx}'],
} as Config
Loading

0 comments on commit 15852e8

Please sign in to comment.