fix sveltekit respecting yarn env var (#3226)
* fix sveltekit respecting yarn env var * adding myself to CONTRIBUTORS
This commit is contained in:
parent
9b4dd54312
commit
4fb2efb8aa
@ -175,6 +175,7 @@ Loudwig <https://github.com/Loudwig>
|
||||
Wu Yi-Wei <https://github.com/Ianwu0812>
|
||||
RRomeroJr <117.rromero@gmail.com>
|
||||
Xidorn Quan <me@upsuper.org>
|
||||
Alexander Bocken <alexander@bocken.org>
|
||||
|
||||
********************
|
||||
|
||||
|
@ -460,7 +460,7 @@ impl BuildAction for SveltekitBuild {
|
||||
if cfg!(windows) {
|
||||
"cmd /c yarn build"
|
||||
} else {
|
||||
"./yarn build"
|
||||
"$yarn build"
|
||||
}
|
||||
} else {
|
||||
"echo"
|
||||
@ -469,6 +469,7 @@ impl BuildAction for SveltekitBuild {
|
||||
|
||||
fn files(&mut self, build: &mut impl build::FilesHandle) {
|
||||
build.add_inputs("node_modules", inputs![":node_modules"]);
|
||||
build.add_inputs("yarn", inputs![":yarn:bin"]);
|
||||
build.add_inputs("", &self.deps);
|
||||
build.add_inputs("", inputs!["yarn.lock"]);
|
||||
build.add_output_stamp("sveltekit.marker");
|
||||
|
Loading…
Reference in New Issue
Block a user