From d3156d4d216a82e2671f19a42e26043ab7af3d20 Mon Sep 17 00:00:00 2001 From: James Prevett Date: Thu, 7 Nov 2024 17:43:31 -0600 Subject: [PATCH] Fix entry points --- vite.config.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/vite.config.js b/vite.config.js index 4a0421d..853b3bc 100644 --- a/vite.config.js +++ b/vite.config.js @@ -1,3 +1,4 @@ +import { globSync } from 'fs'; import { defineConfig } from 'vite'; export default defineConfig({ @@ -7,6 +8,9 @@ export default defineConfig({ outDir: '../docs/demo', emptyOutDir: true, target: 'esnext', + rollupOptions: { + input: globSync('demo/*.html'), + }, }, resolve: { alias: {