From 70cf1b7568a462fb29e5bf1fc2c16a50388c108f Mon Sep 17 00:00:00 2001 From: Archmonger <16909269+Archmonger@users.noreply.github.com> Date: Wed, 30 Oct 2024 11:19:48 -0700 Subject: [PATCH] Re-add resolve --- src/py/reactpy/pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/py/reactpy/pyproject.toml b/src/py/reactpy/pyproject.toml index f93ddb776..9914d18d3 100644 --- a/src/py/reactpy/pyproject.toml +++ b/src/py/reactpy/pyproject.toml @@ -110,7 +110,7 @@ artifacts = ["js"] out_dir = "reactpy/_static" commands = [ # link the js directory if it doesn't exist - use Python to avoid platform differences - "python -c \"import pathlib as p;js=p.Path('js');js.unlink(missing_ok=True);js.symlink_to(p.Path('..','..','js'),target_is_directory=True);\"", + "python -c \"import pathlib as p;js=p.Path('js');js.unlink(missing_ok=True);js.symlink_to(p.Path('..','..','js').resolve(),target_is_directory=True);\"", "cd js && npm ci && npm run build", ] artifacts = ["js/app/dist/"]