johan-v-r / LibSassBuilder

Sass builder for .NET projects
MIT License
99 stars 14 forks source link

Disable SCSS compilation inside docker #32

Closed bezysoftware closed 1 year ago

bezysoftware commented 2 years ago

Hi, I get the following error during my docker multi-build arm64 stage.

There is no LibSassHost.Native.linux-* package for the arm64 processor architecture

Since I include the generated css files in the repo, I was thinking it's actually not needed to run the SCSS compilation during server build (done in Docker). Is there a way to do that?

johan-v-r commented 2 years ago

Hi - I think it might skip the LSB task if there aren't any Sass files in the directory. Perhaps try removing them before your server build then?

JelleHissink commented 2 years ago

Or put a Condition="" attribute on the package reference to LibSassBuilder?

johan-v-r commented 1 year ago

@bezysoftware closing this, please comment again for further discussion on this.