2017-03-31 40 views
2

我想現在如何忽略角2中的所有.js.map文件。在我的.gitignore文件中,我已經嘗試了所有的可能性,但還沒有工作。Angular 2如何忽略.map.js文件?

*.log 
typings 
src/app/**/*.js 
src/app/**/*.map 
node_modules 
.idea/ 
src/app/**/**/*.map 
src/app/*.map 
src/app/**/*.js.map 
src/app/**/*.js 
+0

嗨,你有沒有嘗試過「*。地圖'? –

+0

試試這個**/*。地圖 –

+0

@YoavSchniederman我現在試試這個,沒有工作。 –

回答

1

使用這些

**/*.map 
**/app/**/*.js