Skip to content

feat: add stubs for Node.js modules and improve Vite configuration #513

Open
codegod100 wants to merge 1 commit intomuni-town:mainfrom
codegod100:warnings
Open

feat: add stubs for Node.js modules and improve Vite configuration #513
codegod100 wants to merge 1 commit intomuni-town:mainfrom
codegod100:warnings

Conversation

@codegod100
Copy link
Collaborator

Cleans up warnings in console log

  • Introduced empty stubs for Node.js modules ('fs', 'path', 'url', 'source-map-js') to facilitate browser compatibility.
  • Updated Vite configuration to include module resolution for these stubs.
  • Cleaned up HTML meta tag for viewport settings.
  • Enhanced promise handling in queries.svelte for better readability.
  • Replaced console logging with $inspect for messaging state in ChatInputArea and TimelineView components.

- Introduced empty stubs for Node.js modules ('fs', 'path', 'url', 'source-map-js') to facilitate browser compatibility.
- Updated Vite configuration to include module resolution for these stubs.
- Cleaned up HTML meta tag for viewport settings.
- Enhanced promise handling in queries.svelte for better readability.
- Replaced console logging with $inspect for messaging state in ChatInputArea and TimelineView components.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant