diff --git a/demo/audio-beats-with-propagators.html b/demo/audio-beats-with-event-propagators.html
similarity index 100%
rename from demo/audio-beats-with-propagators.html
rename to demo/audio-beats-with-event-propagators.html
diff --git a/demo/cross-iframe-xanadu-link.html b/demo/cross-iframe-xanadu-links.html
similarity index 100%
rename from demo/cross-iframe-xanadu-link.html
rename to demo/cross-iframe-xanadu-links.html
diff --git a/demo/embeddable-llm-with-propagators.html b/demo/embeddable-llm-with-propagators.html
index 349c749..c49dc12 100644
--- a/demo/embeddable-llm-with-propagators.html
+++ b/demo/embeddable-llm-with-propagators.html
@@ -37,9 +37,19 @@
folk-timer {
padding: 0.5rem;
}
+
+ p {
+ font-style: italic;
+ font-size: 1rem;
+ text-align: center;
+ }
+
+ Note: This demo only works in Chrome with
+ certain flags turned on.
+
-
diff --git a/demo/index.html b/demo/index.html
index d78bc0e..342f4e5 100644
--- a/demo/index.html
+++ b/demo/index.html
@@ -94,7 +94,7 @@
Demos
- (Make sure to checkout the dev tools everything you see is authored just in HTML!)
+ (Make sure to checkout the dev tools, everything you see is authored just in HTML!)
{{ LINKS }}
diff --git a/vite.config.ts b/vite.config.ts
index 548bc7d..22f118b 100644
--- a/vite.config.ts
+++ b/vite.config.ts
@@ -4,12 +4,12 @@ import { defineConfig, IndexHtmlTransformContext, Plugin } from 'vite';
const demoDir = resolve(__dirname, 'demo');
-const files: string[] = readdirSync(demoDir).filter((file) => file.endsWith('.html') && !file.startsWith('_'));
+const files: string[] = readdirSync(demoDir).filter((file) => file.endsWith('.html'));
const input: Record = files.reduce((acc, file) => {
acc[file.replace('.html', '')] = resolve(demoDir, file);
return acc;
}, {} as Record);
-
+console.log(input);
const linkGenerator = (): Plugin => {
return {
name: 'link-generator',
@@ -17,7 +17,9 @@ const linkGenerator = (): Plugin => {
if (!ctx.filename.endsWith('index.html')) return;
// First, handle ungrouped files
- const ungroupedFiles = files.filter((file) => !file.includes('index') && !file.match(/^\[([^\]]+)\]/));
+ const ungroupedFiles = files.filter(
+ (file) => !file.includes('index') && !file.startsWith('_') && !file.match(/^\[([^\]]+)\]/)
+ );
// Then handle grouped files
const groups = files