-
-
Notifications
You must be signed in to change notification settings - Fork 204
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(feat) support ESM configs #930
Conversation
using dynamic import statements. In preparation for ESM config support.
I'll take a look next week. |
Node versions prior to v12.17 need the `--experimental-modules` flag or the dynamic import introduced in #930 won't work. This node version is used in VS Code versions prior to 1.55 and could be used by users setting the node executable to a node version below 12.17. Remove this in mid 2022 and bump vs code minimum required version to 1.55
This is the greatest PR I've ever seen in my life (well, in the last month anyways). Any idea what release this will be a part of? It doesn't look like this is working yet as of |
I think SvelteKit is hardcoded to using |
Ah, gotcha. I was linked to this PR from the Discord and didn't pay attention to what repo this is in. Either way, super great work! I hope this is able to land in Kit eventually, it would make my life (and hopefully other's) a LOT easier. |
With this PR config loading switches to using dynamic import statements. The PR consists of
make this function async
modifications since the ts service initialization is now asyncSupport ESM Syntax in config files #509