This adds mappings for paths to help editors resolve import statements to app and test files
Example:
import Message from 'hyperchannel/models/message';
There is no actual hyperchannel/ folder, those files are located in app/ instead. This is what the config maps.
It gives us jump to definition and auto-import for functions defined within our own codebase for editors that support this.
Also the exclude attribute tells the language service what files are not part of the app's source code. This should help with performance for IntelliSense/code completion.
After updating to a newer Ember version, we can also include Ember's type packages so we also get auto-import and code completion for Ember itself.
This adds mappings for paths to help editors resolve import statements to app and test files
Example:
There is no actual
hyperchannel/
folder, those files are located inapp/
instead. This is what the config maps.It gives us jump to definition and auto-import for functions defined within our own codebase for editors that support this.
Also the
exclude
attribute tells the language service what files are not part of the app's source code. This should help with performance for IntelliSense/code completion.After updating to a newer Ember version, we can also include Ember's type packages so we also get auto-import and code completion for Ember itself.