Path: blob/main/tools/bundle-bug-finder/README.md
6428 views
bundle bug finder
This is a tool to find badly-generated bundled code.
run
npm installin this directorycopy the bundled file you generated with
./quarto-bld prepare-distto this directory.cat the prelude and the built file together:
cat _prelude.js quarto.js > bundle.jsrun eslint on the bundle:
npx eslint bundle.js
In a recent instance of a bundler bug, this is the resulting report: