authgear / authgear/authgear-server
Explore using vitejs or other bundlers for authui
- Dominant language
- Go
- Stars
- 2k
- Forks
- 125
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 32
Description
When debugging https://github.com/authgear/authgear-server/issues/3796#issuecomment-1953401540, it's found that parceljs gets unexpected errors when we want to apply optimizations such as lazy loading.
A nice alternative is vitejs, which has built-in support for lazyloading and better suited for library mode since it's based on rollup.
Contributor guide
Research direction
Start by reading the debugging context in issue 3796 and reproducing the unexpected Parcel errors when applying lazy loading or other optimizations to authui. Compare Vite's lazy-loading support and library mode with the current setup; the issue does not name files, tests, or a specific acceptance criterion, so done is not defined.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- vite
- Domain
- build-system, frontend
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100