Skip to content

Commit

Permalink
ready to utterances
Browse files Browse the repository at this point in the history
  • Loading branch information
songdaegeun committed May 3, 2024
1 parent 49ff731 commit a9b51e4
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 4 deletions.
9 changes: 5 additions & 4 deletions _posts/2024-04-02-execute_jekyll_post.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,12 +111,13 @@ ctrl+shift+R로 강한 새로고침을 해주면 캐시적용없는 새로고침
[2024-05-03 20:21:16] ERROR `/assets/js/dist/post.min.js' not found.
```

알고보니 이거때문에 toc랑 mode-watcher가 안되고 있었다. 이에 대한 issue는 다음과 같다.\
[issue](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1090)
알고보니 이거때문에 toc랑 mode-watcher가 안되고 있었다.([issue](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1090))
JS 프로젝트의 번들링과 관련된 환경변수인 NODE_ENV를 production으로 바꿔야하는 것같다.

다음과 같이 해결한다.

일단 .gitignore에 assets/js/dist을 추가한다.
그리고 다음과 같은 명령을 수행한다.
```
# 일단 .gitignore에 assets/js/dist을 추가한다.
$ npm install
$ NODE_ENV=production npx rollup -c --bundleConfigAsCjs
```
Expand Down
13 changes: 13 additions & 0 deletions _posts/2024-05-03-gitaction.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
layout: post
title: gitaction
date: 2024-05-03 20:37 +0900
author: songdaegeun
categories: [miscellaneous]
tags:
pin: false
math: true
---


[git action공부](https://github.com/joshjohanning/joshjohanning.github.io?tab=readme-ov-file)
17 changes: 17 additions & 0 deletions _posts/2024-05-03-utterances-add-on.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
layout: post
title: utterances add on
date: 2024-05-03 20:36 +0900
author: songdaegeun
categories: ["jekyll"]
tags:
pin: false
math: true
---

### 개요


### 참고문서

[url](https://www.irgroup.org/posts/utternace-comments-system/)

0 comments on commit a9b51e4

Please sign in to comment.