I'm trying to get VSCode to import packages from my lib correctly. One minutes it works, next minute it doesn't.
Tested in PHPStorm and it works fine, however VSCode is now not having any of it, I have both a modules.js file where everything is concatinated into a single file from source split files in the src dir, so import could work from both the single file and the aftc-moodules.js file but VSCode picks up neither.
I never had to use plugins before but I've installed auto import and auto import es6 & ts but they did nothing and I've now disabled them.
Comparison between PHPStorm and VSCode, I don't want to use PHPStorm as it runs like a slug on larger projects and is a memory hog (had to allow it to allocate 3GB of ram for some projects). https://youtu.be/GJtq50MwKkU
VSCode also gives this message:
Any ideas? Do I need to configure VSCode in some way or add something config I don't know about to package.json on aftc-modules?
npm i aftc-modules
AttachDebug(10) // should auto import AttachDebug from either aftc-modules or from src/debug/AttachDebug.js
Thanks