Using aliases with Auto Importer
I use aliases for my imports and it would be a nice addition if Auto Import used them as well, if possible.
Please, can you be more specific?
I am talking about import aliases that you configure in webpack and jsconfig.
It looks like something complicated to do.
Why are you using aliases in your project? I want to understand more about the problem.
I use it because the imports look better in the code. As an example:
import Example from '../../../scenes/Example'
would look like this with the alias @scenes:
import Example from '@scenes/Example'
It would make the generated code look a bit better if that were possible.
But I understand if the implementation is difficult.
Yes, it complicates code generation. It is complicated to parse the typescript config file and it requires extra effort to create a specific configuration for the editor. Thanks!