소스 검색

Add script

customisations
alemart 7 달 전
부모
커밋
9751cbb228
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1
    0
      package.json

+ 1
- 0
package.json 파일 보기

@@ -32,6 +32,7 @@
32 32
     "start": "node esbuild.mjs --dev --minify --serve",
33 33
     "build": "tsc --noEmit && npm run clean && node esbuild.mjs && node esbuild.mjs --minify",
34 34
     "build-dev": "tsc --noEmit && npm run clean && node esbuild.mjs --dev && node esbuild.mjs --dev --minify",
35
+    "minify-plugins": "for f in $(find plugins/ -name *.js); do esbuild --minify < $f > ${f%.*}.min.js; done",
35 36
     "update": "npm update speedy-vision",
36 37
     "deploy": "mkdocs gh-deploy",
37 38
     "docs": "mkdocs serve",

Loading…
취소
저장