Talk

Can imports hurt your build speed & size?

Feb10
Feb 10 Delhi, India

Vojtech Mašek
Vojtech Mašek
Vojtech Mašek

Vojtech Mašek

ng-India-Vojtech-2024

Organizing code into files is crucial. Once in files, you need to import. More files? Libs are becoming useful, but do you know what different export styles do to the bundle size? How do they affect performance? We are about to find out.

Topics: import & export, ESM, CJS, barrel files, bundle-size, Nx libs

Talks wraps up experience of bundle size optimalization with file import structure organization and Nx libraries use-cases from import boundaries, avoiding cyclic dependencies to impact of different export strategies on your bundles.