I am trying to exclude some files from deployment when deploying my ASP 5 app to azure (building it with CTP 6). I have a folder called "dev" inside my wwwroot. In my project.json, I have added
"bundleExclude": [
"node_modules",
"bower_components",
"wwwroot/dev/**/*.*",
"dev/**/*.*",
"**.kproj",
"**.user",
"**.vspscc",
"**.js"
],
However, this does not seem to do anything. During publish I can see that the command "kpm bundle" is run. When I run that command myself it always copies over everything in my wwwroot into the output folder, so it ignores the bundleExclude setting completely.
I am using kre-clr-win-x86.1.0.0-beta3 with kpm being at version 1.0.0-beta3-11030.
What is the correct way of using bundleExclude?
I am trying to exclude some files from deployment when deploying my ASP 5 app to azure (building it with CTP 6). I have a folder called "dev" inside my wwwroot. In my project.json, I have added
However, this does not seem to do anything. During publish I can see that the command "kpm bundle" is run. When I run that command myself it always copies over everything in my wwwroot into the output folder, so it ignores the bundleExclude setting completely.
I am using kre-clr-win-x86.1.0.0-beta3 with kpm being at version 1.0.0-beta3-11030.
What is the correct way of using bundleExclude?