kon-foo
2024-02-19 0493942c79f8528ca8bef6cd8e2f634275f03119
refs
author kon-foo <25391223+kon-foo@users.noreply.github.com>
Monday, February 19, 2024 19:04 +0000
committer GitHub <noreply@github.com>
Monday, February 19, 2024 19:04 +0000
commit0493942c79f8528ca8bef6cd8e2f634275f03119
tree 88c9b540c23425b06cb19d9f7bea2de2ac6eaccb tree | zip | gz
parent a67a8d7aa9da06d8f87d0f48bac630728a4ea394 view | diff
fix: remove assets via globs to avoid volume mount lock (#877)

* Fix docker volume lock issue by altering asset cleanup method
Modified build process to prevent the deletion of the output directory.

* Add fsOps utility for filesystem operations

* Use cleanDirectory in build process to fix volume lock issue

* applied prettier

* handle ENOENT error when output dir does not exist

* remove native function in favor of rimraf

* use path.join to concatenate paths
1 files modified
4 ■■■■ changed files
quartz/build.ts 4 ●●●● diff | view | raw | blame | history