$ npm install
$ npm run rollup
> [email protected] rollup
> rollup -c rollup.config.js && nodejs bundle.js
index.js → bundle.js...
created bundle.js in 939ms
[Function: TypesenseInstantsearchAdapter]$ npm install
$ npm run rolldown
> [email protected] rolldown
> rolldown -c rollup.config.js && nodejs bundle.js
<DIR>/bundle.js chunk │ size: 317.71 kB
✔ rolldown v1.0.0-beta.42 Finished in 27.63 ms
{ default: [Function: TypesenseInstantsearchAdapter] }
$ npm install
$ npm run esbuild
> [email protected] esbuild
> esbuild index.js --bundle --outfile=bundle.js && nodejs bundle.js
bundle.js 358.5kb
⚡ Done in 17ms
{ default: [Function: TypesenseInstantsearchAdapter2] }