diff --git a/src/components/ui/dialog.tsx b/src/components/ui/dialog.tsx index 25d4347..0981891 100644 --- a/src/components/ui/dialog.tsx +++ b/src/components/ui/dialog.tsx @@ -30,6 +30,7 @@ DialogOverlay.displayName = DialogPrimitive.Overlay.displayName; const DialogContent = React.forwardRef< React.ElementRef, React.ComponentPropsWithoutRef + >(({ className, children, "aria-describedby": ariaDescribedBy, ...props }, ref) => { // Provide a visually hidden fallback title if consumer forgets DialogTitle const [hasTitle, setHasTitle] = React.useState(false); diff --git a/vite.config.ts b/vite.config.ts index ce0d722..62a9f97 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -9,8 +9,19 @@ export default defineConfig(({ mode }) => ({ port: 8080, }, plugins: [react()], - // Use Vite defaults for chunking to avoid potential execution order issues on some hosts - build: {}, + + build: { + rollupOptions: { + output: { + manualChunks(id) { + if (id.includes('node_modules')) { + return id.toString().split('node_modules/')[1].split('/')[0].toString(); + } + } + } + } + }, + resolve: { alias: { "@": path.resolve(__dirname, "./src"), diff --git a/web.config b/web.config new file mode 100644 index 0000000..bd3dcdb --- /dev/null +++ b/web.config @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + +