mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-18 22:12:45 +00:00
build: unify vendor pipeline, externalize head JS, switch docs to pnpm
- Remove modules/blox-tailwind/vite.config.js; use root Vite vendor task - Vendor alpinejs and markmap; add vendor-libs.js stub - Replace inline head scripts with CSP-friendly hb-head.js; add font preload + fingerprint - Update scripts/docs to pnpm; remove unused @tailwindcss/vite
This commit is contained in:
1 parent
4d11be9970
commit
88bd615768
8 files changed
+74
-96
No files matched your search
+3
-1
@@ -17,6 +17,8 @@
|
||||
"katex": "^0.16.9",
|
||||
"medium-zoom": "^1.0.8",
|
||||
"mermaid": "^10.6.0",
|
||||
"markmap-autoloader": "^0.15.4",
|
||||
"alpinejs": "^3.13.10",
|
||||
"plotly.js": "^2.27.0",
|
||||
"rollup-plugin-delete": "^2.0.0",
|
||||
"vite": "^7.1.2",
|
||||
@@ -39,7 +41,7 @@
|
||||
"view": "scripts/view-starter.sh",
|
||||
"view:local": "scripts/view-starter-dev.sh",
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"lint": "pnpm run lint:js && yarn run lint:style",
|
||||
"lint": "pnpm run lint:js && pnpm run lint:style",
|
||||
"lint:js": "eslint '*/**/*.{js,ts,tsx}'",
|
||||
"lint:js:fix": "eslint '*/**/*.{js,ts,tsx}' --fix",
|
||||
"lint:style": "stylelint 'modules/blox-tailwind/**/*.css'",
|
||||
|
||||
Reference in new issue
Block a user