KO
|
EN
gitlite — search
Search
#python
#java
#python3
#arduino
#golang
#machine-learning
#rust
#html
#flask
#javascript
#seismology
#nodejs
esbuild-analyzer
★ 11
Open GitHub ↗
No description available.
Download README (.md)
Explore Similar Repositories
spring-boot-virtual-threads-test
:
Load Testing for a Database Intensive application with Virtual Threads
silkroad
:
An autoscript to setup xray server to run vmess/vless/trojan to bypass certain restriction.
gustavomorinaga.dev
:
▲ My super website built with SvelteKit and served on Vercel.
hpm-ral
:
Register Access Layer for HPMicro Microcontrollers
open-blog-projects
:
A repository for code examples that are paired with our Open Blog posts
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
esbuild-analyzer
?
Download (.md)
# esbuild-analyzer A visualizer esbuild analyzer # Examples - https://shuoshubao.github.io/esbuild-analyzer - https://shuoshubao.github.io/esbuild-analyzer/demo1 # Install ```sh npm i -D esbuild-analyzer ``` # Usage ## api ### .build ```js const esbuild = require('esbuild') const AnalyzerPlugin = require('esbuild-analyzer') esbuild.build({ entryPoints: ['lib/index.js'], outdir: 'dist', bundle: true, metafile: true, plugins: [AnalyzerPlugin()] }) ``` ### .buildSync ```js const { writeFileSync } = require('fs') const esbuild = require('esbuild') const { getEsbuildAnalyzerHtml } = require('esbuild-analyzer') const result = esbuild.buildSync({ entryPoints: ['lib/index.js'], outdir: 'dist', bundle: true, metafile: true }) const html = getEsbuildAnalyzerHtml(result.metafile) writeFileSync('EsbuildAnalyzer.html', html) ``` ## cli ```sh # https://esbuild.github.io/api/#metafile esbuild lib/index.js --outdir=dist --bundle --metafile=meta.json ``` ```sh npx esbuild-analyzer # Custom parameters npx esbuild-analyzer --metafile=meta.json --outfile=EsbuildAnalyzer.html ```