Mini programs: Larger apps

Aperta
#1,505 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
12/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Attiva
Stack tecnologico
go, wasm

Direzione di ricerca

Start by building examples/hello and measuring its binary against the 2 MB limit, then trace which packages the linker keeps, such as go.yaml.in/yaml/v3 via core, crypto/ed25519 via internal/platform/updates, goldmark via TextView, and the SVG and encoding/xml paths via ui.Button and the spinner. Done means a common-components app fits the 2 MB budget without disabling inlining, which requires changing what the module links rather than a single-file edit.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement
Context

Part of #1319. The roadmap's Mini programs section lists this item (line 328 of docs/roadmap.md at f7fc2f5c) with no issue.

Reference: —

Acceptance
  • An app of ui's common components fits the platforms' 2 MB, by what the module links (encoding/json, CLDR's data, unused components) rather than by turning inlining off; examples/hello is 2.13 MB without inlining and does not fit (2026-11-19): whatever an app shows, it links go.yaml.in/yaml/v3's regular expressions through core and crypto/ed25519's tables through internal/platform/updates, an app importing ui goldmark through its TextView, and one with a ui.Button the SVG parser and encoding/xml through its spinner

For: 开发@柚子

Lingua principale
Go
Stelle
684
Fork
41
Merge medio
8h 8m
PR unite (30g)
911

Preparare l'ambiente

  • Nessun Dockerfile né file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di nsgo-dev/nsgo

Tutte le issue di nsgo-dev/nsgo

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.