mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
Use prettier's cache
Approximately halves runtime on my system
This commit is contained in:
parent
3d13d259bb
commit
c253d40d1d
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