We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7804b0f commit 80d3e5eCopy full SHA for 80d3e5e
ext/sass/.gitignore
@@ -8,3 +8,4 @@
8
/node_modules/
9
/protoc.exe
10
/ruby/
11
+/yarn.lock
ext/sass/Rakefile
@@ -10,7 +10,7 @@ end
CLEAN.include %w[protoc.exe ruby *.proto *.tar.gz *.zip]
12
13
-CLOBBER.include %w[dart-sass cli.rb embedded_sass_pb.rb node_modules package-lock.json]
+CLOBBER.include %w[dart-sass cli.rb embedded_sass_pb.rb node_modules package-lock.json yarn.lock]
14
15
file 'protoc.exe' do |t|
16
fetch(ENV.fetch('PROTOC_BIN') { SassConfig.default_protoc }, t.name)
@@ -30,6 +30,8 @@ rescue StandardError
30
end
31
32
file 'node_modules/sass' do
33
+ sh 'yarn', 'install'
34
+rescue RuntimeError
35
sh 'npm', 'install'
36
37
0 commit comments