Skip to content
This repository has been archived by the owner on Dec 18, 2017. It is now read-only.

Add webroot property to project.json #613

Closed
davidfowl opened this issue Sep 9, 2014 · 3 comments
Closed

Add webroot property to project.json #613

davidfowl opened this issue Sep 9, 2014 · 3 comments
Assignees
Milestone

Comments

@davidfowl
Copy link
Member

This folder will be used in a number of ways:

  1. KPM pack should pack an applications wwwroot folder as the wwwroot in the output #543
  2. This folder will be excluded from compilation. No patterns belong here, just the name of the relative path to the folder where the web folder is located
{
  "webroot": "wwwroot"
}
@davidfowl davidfowl self-assigned this Sep 9, 2014
@davidfowl davidfowl added this to the 1.0.0-alpha4 milestone Sep 9, 2014
@ChengTian
Copy link
Contributor

Hi @davidfowl , I am working on #543 , which depends on this issue. Feel free to assign this one to me if you have other issues to work on 😄

@davidfowl
Copy link
Member Author

Opted to do this in the vs template itself. Will revisit this. Potentially thinking of a solution that doesn't couple the runtime:

{
    "webroot": "wwwroot",
    "exclude": ["$webroot$/**/*.*"],
}

@Praburaj
Copy link
Contributor

Is it possible to add a folder to the exclude list. For example I would like to exclude "folder1"//." from compilation apart from what the default excludes kruntime considers?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants