Skip to content

Commit

Permalink
Fix entry points
Browse files Browse the repository at this point in the history
  • Loading branch information
james-pre committed Nov 7, 2024
1 parent c0224cc commit d3156d4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions vite.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { globSync } from 'fs';
import { defineConfig } from 'vite';

export default defineConfig({
Expand All @@ -7,6 +8,9 @@ export default defineConfig({
outDir: '../docs/demo',
emptyOutDir: true,
target: 'esnext',
rollupOptions: {
input: globSync('demo/*.html'),
},
},
resolve: {
alias: {
Expand Down

0 comments on commit d3156d4

Please sign in to comment.