mirror of
https://github.com/ankitects/anki.git
synced 2026-01-14 06:23:57 -05:00
Use prettier's cache
Approximately halves runtime on my system
This commit is contained in:
parent
a19b283947
commit
4c975eb9b5
1 changed files with 1 additions and 1 deletions
|
|
@ -214,7 +214,7 @@ pub struct Prettier {
|
|||
|
||||
impl BuildAction for Prettier {
|
||||
fn command(&self) -> &str {
|
||||
"$prettier $mode $pattern"
|
||||
"$prettier --cache $mode $pattern"
|
||||
}
|
||||
|
||||
fn files(&mut self, build: &mut impl build::FilesHandle) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue