koenvzeijl / AspNetCore.SassCompiler

Sass Compiler Library for .NET Core 3.1/5.x/6.x/7.x without node, using dart-sass as a compiler
https://www.nuget.org/packages/AspNetCore.SassCompiler/
MIT License
215 stars 26 forks source link

Publish path is incorrect #153

Closed richward1 closed 1 year ago

richward1 commented 1 year ago

Describe the bug Default location when publishing for release seems to default to wwwroot/, not wwwroot/css.

To Reproduce Steps to reproduce the behavior:

  1. Leave default config untouched and publish for release OR
  2. Try this in appsettings.json
"SassCompiler": {
  "Arguments": "--style=compressed",
  "Configurations": {
    "Release": {
      "TargetFolder": "wwwroot/css"
    }
  }
}

Have tried publishing to a fresh folder, and it won't ever put the file in the css/ folder.

Expected behavior Compiled file is in wwwroot/css

Desktop (please complete the following information):

richward1 commented 1 year ago

Nevermind, I am very dumb