Skip to content
This repository was archived by the owner on Apr 8, 2020. It is now read-only.
This repository was archived by the owner on Apr 8, 2020. It is now read-only.

Exclude node_modules from the compile directories #378

@gary-holland

Description

@gary-holland

I'm getting compile issues when packages (specifically the "protractor" package) loading into the node_modules directory have .aspx files within them. Also, there is no need for the compiler to be scanning the node_modules directory for every rebuild.

Can you modify the project.json file to exclude this directory. The following works for me:

"buildOptions": {
"emitEntryPoint": true,
"preserveCompilationContext": true,
"compile": {
"exclude": [ "node_modules" ]
}
},

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions