Skip to content

Commit a197b0c

Browse files
committed
build posts json in assets
1 parent ea2e06b commit a197b0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/getfiles.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ writeJson = postsarr => {
5555
const arr = JSON.stringify(postsarr);
5656
const jsonContent = `export const postsArray = ${arr}`;
5757

58-
fs.writeFile(`./src/app/blog/dashboard/posts.ts`, jsonContent, function(err) {
58+
fs.writeFile(`./src/assets/posts/posts.ts`, jsonContent, function(err) {
5959
if (err) {
6060
return console.log(err);
6161
}

0 commit comments

Comments
 (0)