NativeScript / nativescript-dev-typescript

TypeScript support for NativeScript projects
Apache License 2.0
21 stars 10 forks source link

Using custom tsconfig.json path aliases #54

Open darkyelox opened 6 years ago

darkyelox commented 6 years ago

I'm here for the same problem that always faced using Nativescript an is tue ability to use path aliases in my tsconfig, i can use the ~ alias with no problem but i want to use any kind of aliases for my apps like @some.module.path but i can only using it when running my apps with tns run android --bundle the problem with this approach is that i can't use any kind of debugging tool (VSCode or Chrome Dev Tools) and that is a big problem, it is possible to use my own aliases or i must stuck using the ~ ugly alias?

Which platform(s) does your issue occur on?

Please, provide the following version numbers that your issue occurs with:


### Please, tell us how to recreate the issue in as much detail as possible. 
create a project using Angular blank template and install Webpack plugin, then create a module folder and create some path alias in tsconfig.json

Running the proyect with parameter `--bundle` makes the path alias works but debugging from VSCode stops working