madskristensen / BundlerMinifier

Visual Studio extension
Other
614 stars 172 forks source link

dotnet bundle fails: Expected semicolon or closing curly-brace, found '-' #425

Open jaoord opened 5 years ago

jaoord commented 5 years ago

Installed product versions

Description

Running dotnet bundle on a project fails with the error: Expected semicolon or closing curly-brace, found '-'

Steps to recreate

  1. Download the demo project: https://github.com/jaoord/demo_bundler_error
  2. in a command prompt, run dotnet bundle

Current behavior

No minification is taking place. Instead the error Expected semicolon or closing curly-brace, found '-' is returned because I use CSS variables

Expected behavior

Properly handle CSS variables.

jaoord commented 5 years ago

My bad. The version of the CLI tool is 2.6.362 which was before when the bug was fixed.