Balancing Readability and Bundle Size with Namespacing
I'm prioritizing readability and discoverability instead of bundle size in my code, but I'd like to ask if anyone know a way to get both:
1. reduced bundle size (eg. for lambda)
2. keep the
From my understanding, if you export things with
1. reduced bundle size (eg. for lambda)
2. keep the
Domain.stuff namespacing for everything I doFrom my understanding, if you export things with
export * as Domain from "./domain" and then you import { Domain } from "mylib" and use it like so Domain.stuff you get no three shaking capabilities for your code. Am I right? Are there alternatives?