💾 Archived View for freeshell.de › tldr › esbuild.gmi captured on 2023-09-28 at 16:26:10. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-04-28)

-=-=-=-=-=-=-

esbuild

JavaScript bundler and minifier built for speed.

More information.

esbuild --bundle {path/to/file.js}
esbuild --bundle --outfile={path/to/out.js} < {path/to/file.jsx}
esbuild --bundle --define:{process.env.NODE_ENV=\"production\"} --minify --sourcemap {path/to/file.js}
esbuild --bundle --minify --sourcemap --target={chrome58,firefox57,safari11,edge16} {path/to/file.jsx}
esbuild --bundle --platform={node} --target={node12} {path/to/file.js}
esbuild --bundle app.js --loader:{.js=jsx} {path/to/file.js}
esbuild --bundle --serve={port} --outfile={index.js} {path/to/file.js}
esbuild --bundle --outdir={path/to/output_directory} {path/to/file1} {path/to/file2}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).

CC-BY