Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow spaces in outputpath #405

Closed
wants to merge 3 commits into from

Conversation

MariovanZeist
Copy link

fixes: dotnet/aspnetcore#38702

Assume the following:

when using the following scripts in package.json

  "scripts": {
    "build": "npm run build:release",
    "build:Release": "webpack --mode production",
    "build:Debug": "webpack --mode development",
  }

When there are spaces in the output path,

The build output shows:
webpack --mode development "--output-path" "D:\My" "Projects\Redacted\src\MyLibrary.Components\obj\Debug\net6.0\clientassets/"

but should say:
webpack --mode development --output-path "D:\My Projects\Redacted\src\MyLibrary.Components\obj\Debug\net6.0\clientassets/"

(for readability I put the path part on the next line)

This PR fixes that.

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

Successfully merging this pull request may close these issues.

Problem using Microsoft.AspNetCore.ClientAssets with spaces in outputpath
2 participants