Thanks to Hussein Nazzal, I was able to solve this problem (because I use Angular2 there are a few steps you need to know):
Add the outDir property to tsconfig.json as follows:
{ "compilerOptions": { "target": "es5", "module": "system", "moduleResolution": "node", "sourceMap": true, "emitDecoratorMetadata": true, "experimentalDecorators": true, "removeComments": false, "noImplicitAny": false, "outDir": "buildjs/" }, "exclude": [ "node_modules", "typings/main", "typings/main.d.ts" ] }
Then in the .vimrc
file add the following:
let NERDTreeIgnore=['buildjs$']
Remember to change index.html
and add the following line next to System.import('buildjs/main')
,
System.import('app/main')`
add to System.config
map: { app: 'buildjs' }
source share