Readable source for this plugin's built JavaScript
=================================================

The plugin's JavaScript is built from TypeScript and React (Preact for the widgets). Its own source
is in src/ (the wp-admin screen) with package.json and webpack.config.js; the files it shares with
RevuKit, and the source of the widget scripts in assets/widgets/, are in this folder, laid out as in
the RevuKit repository (the plugin itself is revukit-wordpress-plugin/ there).

- wp-admin screen (build/admin.js): src/admin/ plus the shared files under source/src/lib and
  source/widget/components. Built with @wordpress/scripts: `npm install && npm run build`.
- Widget scripts (assets/widgets/*.umd.js): source/widget/widgets/<design>.tsx and what they import
  under source/widget/. Built with Vite by source/scripts/build-wordpress-v2-widgets.ts, one bundle per
  design (source/widget/vite.config.ts, with WIDGET_PREACT=1 and WIDGET_V2=1).
- Review editor styles (assets/admin/reviews-editor.css): generated by scripts/build-review-styles.mjs
  with Tailwind CSS from source/src/components/ManageReviewsEditor.tsx and src/admin/arrange-reviews.tsx.
