-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update to use the Dart Sass binary and the new v2 protocol
E.g. use `sass --embedded`. Note taht this will bumb to a new major version of this library (v2). If you need to support the old protocol/binary, use the v1 (root path) version. See gohugoio/hugo#11059 Fixes #15
- Loading branch information
Showing
7 changed files
with
643 additions
and
688 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
|
||
* Install protobuf: https://github.com/protocolbuffers/protobuf | ||
* Install the Go plugin: go get -u google.golang.org/protobuf/cmd/protoc-gen-go | ||
* Download the correct version of the proto file: https://github.com/sass/embedded-protocol/blob/master/embedded_sass.proto | ||
* Install the Go plugin: go install google.golang.org/protobuf/cmd/protoc-gen-go@latest | ||
* Download the correct version of the proto file: https://github.com/sass/sass/blob/main/spec/embedded_sass.proto | ||
* protoc --go_opt=Membedded_sass.proto=github.com/bep/godartsass/internal/embeddedsass --go_opt=paths=source_relative --go_out=. embedded_sass.proto |
Oops, something went wrong.