(#1) - WebPack bundling of JS and CSS (#1)

This work was done with Claude.

Added bundling of CSS & JS with WebPack. This also means minimization.

---------

Co-authored-by: Martin Slachta <martin.slachta@outlook.com>
Reviewed-on: #1
This commit was merged in pull request #1.
This commit is contained in:
2026-06-12 10:57:23 +00:00
parent 0d829845c4
commit 1294a177ae
23 changed files with 115 additions and 70 deletions
+4 -1
View File
@@ -1,3 +1,6 @@
import { RsvFormEncoder } from './RsvFormEncoder.js';
import { show_notice } from '../../../src/components/admin.js';
/*
* RsvAdminForm — shared submit handler for wp-admin forms.
*
@@ -13,7 +16,7 @@
* refresh: () => my_datagrid.refresh(),
* });
*/
const RsvAdminForm = {
export const RsvAdminForm = {
// Attach a submit listener that sends the form as JSON.
bind(form, options = {}) {
if (!form) return;