Master 1Password: vaults, Watchtower, passkeys, SSH agent, CLI, and family/team administration. Use when getting full value from 1Password personally or administering it for others.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Use esbuild for extreme-speed builds: bundling, transforming, plugins, and integration into larger pipelines. Use when build speed is the bottleneck.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
설치 방법 보기설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.
A practical guide to esbuild: the Go-written bundler/transformer that's 10–100x faster than JS-based tools — CLI and JS API, bundling, plugins, and how it slots into bigger pipelines (Vite dev, build scripts, CLIs).
esbuild does one thing extraordinarily well: transform and bundle JavaScript/TypeScript fast, by being written in Go with parallelism from the ground up. It's intentionally narrower than webpack/Rollup (no type checking, limited HMR story, simpler plugin model). Use it where speed matters most: dev transforms, CLI bundling, build-script steps, and as the engine inside other tools.
tsc/babel in build pipelines for transpile-only steps.esbuild.transform converts one file (TS→JS, JSX→JS, minify); esbuild.build bundles a graph. Transforms don't type check — pair with tsc --noEmit in CI.platform: 'node' | 'browser' | 'neutral', format: 'esm' | 'cjs' | 'iife'. Node platform auto-externalizes builtins; browser needs explicit handling.target: 'es2020' / 'node18' controls syntax downleveling. Higher target = less transform = faster + smaller..ts, .tsx, .jsx, .json, .css, .txt, binary (file/dataurl/copy) — per-extension handling, overridable.onResolve/onLoad hooks — simpler than Rollup's model but enough for aliases, virtual modules, env injection.--watch rebuilds; the JS API's context() enables watch + serve with incremental rebuilds (millisecond re-bundles).--metafile=meta.json + analyzer shows what's in the bundle — essential for bloat hunting.1. CLI quick wins.
esbuild src/index.ts --bundle --platform=node --format=cjs --target=node18 --outfile=dist/cli.js --minify
esbuild src/app.tsx --bundle --minify --sourcemap --target=es2020 --outfile=dist/app.js --loader:.png=file
2. Build script (JS API).
// build.mjs
import * as esbuild from 'esbuild';
await esbuild.build({
entryPoints: ['src/index.ts'],
bundle: true,
platform: 'node',
format: 'cjs',
target: 'node18',
outfile: 'dist/index.js',
sourcemap: true,
minify: process.env.NODE_ENV === 'production',
external: ['fsevents'], // native deps stay external
metafile: true,
});
3. Dev watch.
const ctx = await esbuild.context({ /* options */ });
await ctx.watch();
4. Type checking alongside.
esbuild src/index.ts --bundle --outfile=dist/index.js & tsc --noEmit
# or in CI: run both, fail on either
5. Analyze. Generate the metafile, drop into an analyzer, and check for: duplicated deps, accidentally bundled Node builtins (browser builds), oversized chunks.
tsc --noEmit in CI is mandatory, not optional.platform: 'browser' doesn't polyfill fs/path — imports fail at runtime. Either avoid them or shim explicitly.fsevents, esbuild itself, DB drivers with native bindings must be external — bundling them breaks loading.__dirname in ESM output. ESM has no __dirname; esbuild won't inject it. Use import.meta.url-based paths or stay CJS for Node scripts.아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.
로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.
아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.
Master 1Password: vaults, Watchtower, passkeys, SSH agent, CLI, and family/team administration. Use when getting full value from 1Password personally or administering it for others.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Create 3D visuals with modeling, texturing, lighting, rendering, and optimization for web and product.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Create 3D web experiences: scene setup, models, materials, lighting, animation, scroll-driven scenes, and performance budgets. Use when adding 3D to websites beyond basic demos.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Writing abstracts that get papers read — structured content, the 5-sentence core, and journal-specific constraints.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Learn effectively from courses and academies: choosing programs, studying actively, and converting courses into skills. Use when investing time/money in structured learning.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Audit designs for accessibility with WCAG checklists covering color, type, focus, motion, and content.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.