-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
Hi there,
Thanks for all your work on Typir @JohannesMeierSE! I'm enjoying using it.
Still on 0.3.0, and running the LSP in the browser via Vite.
I'm getting some errors due to use of the Node.js util/types module in Typir. Vite doesn't provide polyfills for Node builtins, and produces an error during build:
Failed to resolve import "util/types"
I believe it's due to these two lines:
| import { isMap, isSet } from 'util/types'; |
| import { isMap, isSet } from 'util/types'; |
It works fine in VSCode + Node, of course! For now I'm adding a polyfill via esbuild options for those two functions, but just thought I should point it out!
JohannesMeierSEnk-coding
Metadata
Metadata
Assignees
Labels
No labels