From a9b51e44573b3351ce9e828a9169f2610259484a Mon Sep 17 00:00:00 2001 From: sdg Date: Fri, 3 May 2024 20:39:20 +0900 Subject: [PATCH] ready to utterances --- _posts/2024-04-02-execute_jekyll_post.md | 9 +++++---- _posts/2024-05-03-gitaction.md | 13 +++++++++++++ _posts/2024-05-03-utterances-add-on.md | 17 +++++++++++++++++ 3 files changed, 35 insertions(+), 4 deletions(-) create mode 100644 _posts/2024-05-03-gitaction.md create mode 100644 _posts/2024-05-03-utterances-add-on.md diff --git a/_posts/2024-04-02-execute_jekyll_post.md b/_posts/2024-04-02-execute_jekyll_post.md index 5e90873..d1d3dca 100644 --- a/_posts/2024-04-02-execute_jekyll_post.md +++ b/_posts/2024-04-02-execute_jekyll_post.md @@ -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 ``` diff --git a/_posts/2024-05-03-gitaction.md b/_posts/2024-05-03-gitaction.md new file mode 100644 index 0000000..8f38921 --- /dev/null +++ b/_posts/2024-05-03-gitaction.md @@ -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) \ No newline at end of file diff --git a/_posts/2024-05-03-utterances-add-on.md b/_posts/2024-05-03-utterances-add-on.md new file mode 100644 index 0000000..55997ca --- /dev/null +++ b/_posts/2024-05-03-utterances-add-on.md @@ -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/) \ No newline at end of file