GitHub Pages: https://croquiscom.github.io/pda-preview-bookmarklet/
| 파일 | 설명 |
|---|---|
preview.js |
PDA Preview 북마클릿 소스 |
mini-sorter.js |
가상 소터(DAS/Re-bin) 북마클릿 소스 |
index.template.html |
북마클릿 설치 페이지 템플릿 |
index.html |
빌드 결과물 (직접 수정하지 않음) |
build.js |
JS → minify → bookmarklet → index.html 생성 스크립트 |
preview.js 또는 mini-sorter.js를 수정합니다.
node build.jsterser가 로컬에 없어도npx -y terser로 자동 설치됩니다.index.template.html의 플레이스홀더에 minify된 bookmarklet이 삽입되어index.html이 생성됩니다.
git add mini-sorter.js preview.js index.html
git commit -m "변경 내용"
git push주의:
index.html을 직접 수정하지 마세요.build.js실행 시 덮어씌워집니다.