mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-28 03:37:40 +02:00
chore(minify): add Bun script to minify internal and goutils HTML/JS
Add `scripts/minify` with glob discovery, @swc/core for JavaScript, and @swc/html for HTML, writing sibling `*.min.html` / `*.min.js` and skipping `internal/go-proxmox` and files whose basename already contains `.min.`. Ship Bun lock, tsconfig, README, and `.gitignore` for the tool.
This commit is contained in:
16
scripts/minify/package.json
Normal file
16
scripts/minify/package.json
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"name": "minify",
|
||||
"module": "index.ts",
|
||||
"type": "module",
|
||||
"private": true,
|
||||
"devDependencies": {
|
||||
"@types/bun": "latest"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"typescript": "^5"
|
||||
},
|
||||
"dependencies": {
|
||||
"@swc/core": "^1.15.30",
|
||||
"@swc/html": "^1.15.30"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user