Below is a deconstruction of how bookemoji works.
bookemoji is composed of three primary aspects:
bookemoji
library which exports utility functionsbookemoji
libraryThe book emoji library is also two sets of exports:
bookemoji/vite
, for convenienceThe key sveltekit routes are:
/books/books.json
endpoint β this is intentionally an endpoint for extensibility/books/[story]
and /books/[story]/[variant]
pagesThe vite plugin is published as vite-plugin-bookemoji
and powers the bookemoji experiences.
Its details aren't covered here but you can explore its source freely.