JavaScript

Tree shaking

Në shqip përdoret i njëjti emër.

ShpjegimiSQ

Tree shaking është kur bundler-i heq kodin që s'e përdor askush — p.sh. funksionet e një librarie që s'i importove. Punon mirë vetëm me ES modules (import/export).

EnglishEN

Tree shaking is when the bundler removes code nobody uses — e.g. a library's functions you never imported. It only works well with ES modules (import/export).

Si ta mendosh

Si ta shkundësh pemën që të bien gjethet e thata.

Lexoje në anglisht

Like shaking a tree so the dead leaves fall off.

Terma të lidhur