bun i
bun run start
bun run build
bun run build:wc
Then copy the built files (saved in dist) to the project which wants to use this web component. See the usage in wc-demo folder.
Build and copy the JS files from dist to wc-demo. Serve this directory with a simple HTTP server:
python3 -m http.server -d wc-demo