A collection of Datastar tips and tricks (opens in new tab)
Some tips and tricks for Datastar. Building the project The project is developed in a private repo and then a public cut of the code is pushed to the public repo. Bundles of the code are also published but there are no instructions on how to actually build it yourself. Until now! Run the following from within the library/ directory of the repo: npx esbuild --bundle src/bundles/datastar.ts \ --outdir=../bundles/ \ --minify --sourcemap \ --target=es2023 \ --format=esm That should produce a bund...
Read the original article