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

Closed

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.

Activity

  1. SteveSandersonMS commented on Oct 17, 2016

    @SteveSandersonMS
    Member

    Thanks - great suggestion! This is now done.

  2. added a commit that references this issue on Oct 17, 2016
    418255e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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