felixrieseberg / vsc-ember-cli

:zap: Turn Visual Studio Code into an Ember Cli IDE
https://aka.ms/vsc-ember
MIT License
92 stars 15 forks source link

Set compilerOptions.moduleResolution to "node" #56

Open bartocc opened 5 years ago

bartocc commented 5 years ago

Just like ember-cli-typescript does it in https://github.com/typed-ember/ember-cli-typescript/blob/8a69cfb47e88b2f92a91f4eb0ba340a44daf89cb/blueprint-files/ember-cli-typescript/tsconfig.json#L3-L5, the generated jsconfig.json file should set compilerOptions.moduleResolution to node to allow better module resolution.

I've come across this when trying to understand why @ember-decorators/service was not being resolved properly.