fix: remove top-level node:path imports to fix browser bundler compatibility

- Convert static imports to dynamic imports with environment checks
- Prevents 'Module externalized for browser compatibility' errors
- Maintains Node.js functionality while enabling browser usage
This commit is contained in:
David Snelling 2025-09-17 17:20:05 -07:00
parent 0cde950c03
commit 340123b3b6
3 changed files with 18 additions and 13 deletions

View file

@ -1,6 +1,6 @@
{
"name": "@soulcraft/brainy",
"version": "3.8.1",
"version": "3.8.2",
"description": "Universal Knowledge Protocol™ - World's first Triple Intelligence database unifying vector, graph, and document search in one API. 31 nouns × 40 verbs for infinite expressiveness.",
"main": "dist/index.js",
"module": "dist/index.js",