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/"]