googleapis / googleapis/google-api-nodejs-client

Too slow tsc compilation time with importing just googleapis

Offen
#3,296 0 Kommentare 5 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
priority: p2 type: bug
Vorherrschende Sprache
TypeScript
Sterne
12.2k
Forks
2k
Ø Merge
1 T. 9 Std.
Gemergte PRs (30 T.)
24

Beschreibung

It takes 10 second to compile with `tsc` just with importing `googleapis`

- macOS 10.15.7
- Node v18.16.1
- npm 9.8.0
- googleapis: "^118.0.0"

googleapis-import

tsconfig.json

```json
{
"compilerOptions": {
"strict": true,
"module": "ESNext",
"target": "ESNext",
"esModuleInterop": true,
"moduleResolution": "NodeNext",
"skipLibCheck": true,
"noEmit": true,
"allowJs": true
},
"exclude": [
"node_modules"
]
}
```

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Reproduce the report using the import, tsconfig.json, and listed TypeScript and Node versions; measure tsc time with googleapis imported versus absent. Trace the compiler inputs involved, and consider the issue done when the cause and a verified compilation-time improvement or documented limitation are established.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
nodejs, typescript
Bereich
build-system, performance
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.