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