Bug Report or Feature Request (mark with an x)
- [ x ] bug report -> please search issues before submitting
- [ ] feature request
Versions.
@angular/cli: 1.4.4+
node: 6.11.4
os: darwin x64
Repro steps.
See the project here https://github.com/Azure-Samples/angular-cosmosdb/tree/develop in the develop branch.
Notice that I set the outdir and root like this
"root": "src/client",
"outDir": "dist/publicweb",
Now notice I have assets that I want to end up in the folder one level higher than the outdir.
"assets": [
{
"glob": "**/*.*",
"input": "../server/",
"output": "../"
},
],
When i run this I get an error saying I can't do this. This started in 1.4.4. It works in 1.4.3
Desired functionality.
I would like this to work so I can deploy both an express server from src/server/** and the client app , ending up in the outdir, where the node/express server serves everything in a folder below it. See below:
/dist/index.js // my express server
/dist/publicweb // the folder with my angular client code
Mention any other details that might be useful.
I had a chat with @Brocco about this at AngularMix ... I'm hoping we can find a way to do this where it is allowed to go up the outdir as long as it doesn't go past the project root.
Bug Report or Feature Request (mark with an
x)Versions.
@angular/cli: 1.4.4+
node: 6.11.4
os: darwin x64
Repro steps.
See the project here https://github.com/Azure-Samples/angular-cosmosdb/tree/develop in the
developbranch.Notice that I set the outdir and root like this
Now notice I have assets that I want to end up in the folder one level higher than the
outdir.When i run this I get an error saying I can't do this. This started in 1.4.4. It works in 1.4.3
Desired functionality.
I would like this to work so I can deploy both an express server from
src/server/**and the client app , ending up in the outdir, where the node/express server serves everything in a folder below it. See below:Mention any other details that might be useful.
I had a chat with @Brocco about this at AngularMix ... I'm hoping we can find a way to do this where it is allowed to go up the outdir as long as it doesn't go past the project root.