Skip to content

Commit

Permalink
updated settings for latest vitepress
Browse files Browse the repository at this point in the history
  • Loading branch information
CodyBontecou committed Feb 26, 2024
1 parent 6def1c6 commit aad4899
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,15 @@
"version": "0.0.1",
"description": "",
"main": "index.js",
"type": "module",
"authors": {
"name": "Cody Bontecou",
"email": "[email protected]"
},
"repository": "https://github.com/codybontecou/blog/blog",
"scripts": {
"dev": "vitepress dev src",
"build": "vitepress build src yarn generate",
"build": "vitepress build src npm run generate",
"serve": "vitepress serve src --port 8080",
"generate": "node ./util/generateSitemap && node ./util/generateNetlifyToml",
"generate:netlify": "node ./util/generateNetlifyToml",
Expand Down
2 changes: 1 addition & 1 deletion src/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import path from 'path'
import { writeFileSync } from 'fs'
import { Feed } from 'feed'
import { defineConfig, createContentLoader, type SiteConfig } from 'vitepress'
require('dotenv').config()
import 'dotenv'
import { sortedSidebar } from '../../util/generateSidebar'

const hostname: string = 'https://codybontecou.com'
Expand Down

0 comments on commit aad4899

Please sign in to comment.