Skip to content

Commit

Permalink
feat: upgrade to astro 2 + add unplugin-fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
stafyniaksacha committed Mar 20, 2023
1 parent 0f6bf36 commit 5163871
Show file tree
Hide file tree
Showing 6 changed files with 803 additions and 1,144 deletions.
21 changes: 20 additions & 1 deletion astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,23 @@
import { defineConfig } from 'astro/config';
import Unfonts from 'unplugin-fonts/astro'

// https://astro.build/config
export default defineConfig({});
export default defineConfig({
integrations: [
Unfonts({
google: {
families: [
'Material+Icons',
{
name: 'Roboto',
styles: 'wght@300;400;500;700',
},
{
name: 'Nunito',
styles: 'wght@400;600;700;800'
},
],
},
})
]
});
27 changes: 14 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,25 +17,26 @@
"astro": "astro"
},
"dependencies": {
"@alpinejs/collapse": "3.10.5",
"@alpinejs/intersect": "3.10.5",
"@alpinejs/persist": "3.10.5",
"@iconify/iconify": "3.0.1",
"alpinejs": "3.7.1",
"astro": "1.7.1",
"@alpinejs/collapse": "3.12.0",
"@alpinejs/intersect": "3.12.0",
"@alpinejs/persist": "3.12.0",
"@iconify/iconify": "3.1.0",
"alpinejs": "3.12.0",
"astro": "2.1.3",
"bulma": "0.9.4",
"bulma-css-vars": "0.7.0",
"fuse.js": "6.5.3",
"fuse.js": "6.6.2",
"js-datepicker": "5.18.2",
"lozad": "1.16.0",
"moment": "2.29.1",
"moment": "2.29.4",
"notyf": "3.10.0",
"plyr": "3.7.3",
"sass": "1.57.0",
"simplebar": "5.3.9"
"plyr": "3.7.7",
"sass": "1.59.3",
"simplebar": "6.2.2"
},
"devDependencies": {
"autoprefixer": "10.4.13",
"npm-run-all": "4.1.5"
"autoprefixer": "10.4.14",
"npm-run-all": "4.1.5",
"unplugin-fonts": "^1.0.0"
}
}

0 comments on commit 5163871

Please sign in to comment.