Go
847 FILES
5 FINDINGS
HOW ESBUILD
ACTUALLY WORKS
An extremely fast bundler for the web. Conventions, patterns, and architecture extracted from the evanw/esbuild repository by sourcebook.
Build: make
Testing: Go testing
WHAT_MATTERS
-
→
Module path: github.com/evanw/esbuild. Use this as the import prefix for all internal packages.
KEY_FINDINGS
Module path: github.com/evanw/esbuild. Use this as the import prefix for all internal packages.
HIGHStandard Go project layout: cmd/ pkg/ internal/. Entry points are in cmd/ subdirectories.
HIGHinternal/ packages cannot be imported by external modules. Keep private code here.
HIGHThis is a publishable library, not an application. Focus changes on the public API surface.
HIGH+ 1 MORE FINDINGS (MEDIUM CONFIDENCE)
Circular import chains detected: node.ts; browser.ts; wasm.ts. Avoid adding to these cycles.
MEDHub files: scripts/esbuild.js, lib/shared/types.ts