mirror of
https://github.com/OpenListTeam/OpenList-Frontend.git
synced 2026-03-13 11:20:24 +00:00
ae445dad6b9c991f27423747922e593a65a36ff9
* Add `useCDN` hook for better management of CDN resources. * Bundle CDN resources (Monaco Editor, KaTeX, Mermaid, Ruffle, etc.) using `vite-plugin-static-copy` into the dist, which can be beneficial for environments with network problems. * Add `VITE_LITE` environment for conditional lite version compilation, removing the need for a separate lite branch. BREAKING CHANGE: The lite branch is no longer needed.
OpenList (frontend)
BUILD
You can use the build script.
Usage: ./build.sh [--dev|--release] [--compress|--no-compress] [--enforce-tag] [--skip-i18n] [--lite]
Options (will overwrite environment setting):
--dev Build development version
--release Build release version (will check if git tag match package.json version)
--compress Create compressed archive
--no-compress Skip compression
--enforce-tag Force git tag requirement for both dev and release builds
--skip-i18n Skip i18n build step
--lite Build lite version
Environment variables:
OPENLIST_FRONTEND_BUILD_MODE=dev|release (default: dev)
OPENLIST_FRONTEND_BUILD_COMPRESS=true|false (default: false)
OPENLIST_FRONTEND_BUILD_ENFORCE_TAG=true|false (default: false)
OPENLIST_FRONTEND_BUILD_SKIP_I18N=true|false (default: false)
LICENSE
MIT
CREDITS
OpenList is a resilient, community-driven fork of AList — built to defend open source against trust-based attacks.
Languages
TypeScript
70%
JavaScript
24.4%
CSS
2.8%
HTML
2%
Shell
0.8%