Angular 2如何忽略.map.js文件?

时间:2017-03-31 17:41:35

标签: javascript angular typescript gitignore

我现在想如何忽略角度为2的所有.js.map文件。在我的.gitignore文件中,我已经尝试了所有可能性但是还没有工作。

ArrayList<AClass> AList = new ArrayList<AClass>();    

public BClass() {
    // I believe there is 128 unique ways to arrange between 0000000 and 1111111
    for (int i = 0; i < ?; i++) {
        // I assume I would need to create the String some how here and use that.
        String str;
        AList.add(new AClass("0000000"));

        / * Each loop would create a new one, you get the idea.
        AList.add(new AClass("1000000"));
        AList.add(new AClass("1100000"));
        AList.add(new AClass("1110000"));
        ...
        ...
        AList.add(new AClass("1001010"));
        ...
        ...
        AList.add(new AClass("1111111"));
        */
    }
}

1 个答案:

答案 0 :(得分:1)

使用这些

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