Skip to content

Commit 5cb7c82

Browse files
Updated the build config
1 parent a0d568c commit 5cb7c82

File tree

7 files changed

+4
-82
lines changed

7 files changed

+4
-82
lines changed

contents/blogs/.gitkeep

Whitespace-only changes.

contents/blogs/first-blog/index.md

Lines changed: 0 additions & 26 deletions
This file was deleted.

contents/blogs/second-blog/index.md

Lines changed: 0 additions & 26 deletions
This file was deleted.

contents/blogs/third-blog/index.md

Lines changed: 0 additions & 26 deletions
This file was deleted.

contents/snippets/.gitkeep

Whitespace-only changes.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,8 @@
114114
"check:watch": "svelte-check --tsconfig ./tsconfig.json --watch",
115115
"optimize:image": "node --loader ts-node/esm scripts/js/optimize-image.ts",
116116
"copy:content": "npm run copy:blog && npm run copy:snippets",
117-
"copy:blog": "copyfiles \"contents/blogs/**\" static/images --exclude=\"**/index.md\" --up=1",
118-
"copy:snippets": "copyfiles \"contents/snippets/**\" static/images --exclude=\"**/*.md\" --up=1",
117+
"copy:blog": "copyfiles \"src/lib/contents/blogs/**\" static/images --exclude=\"**/index.md\" --up=1",
118+
"copy:snippets": "copyfiles \"src/lib/contents/snippets/**\" static/images --exclude=\"**/*.md\" --up=1",
119119
"storybook": "start-storybook -p 6006",
120120
"build-storybook": "build-storybook"
121121
},

src/routes/blog/_blog-api.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ import readingTime from 'reading-time';
1818
import { ISODate } from '$utils/date-formatters';
1919
import { environment } from '$environment/environment';
2020

21-
const blogPath = 'contents/blogs';
22-
const snippetsPath = 'contents/snippets';
21+
const blogPath = 'src/lib/contents/blogs';
22+
const snippetsPath = 'src/lib/contents/snippets';
2323
const blogEditPath = `${environment.gitHubConfig.GITHUB_BLOG_EDIT_URL}`.trim().slice();
2424
const langs = {
2525
bash: 'bash',

0 commit comments

Comments
 (0)