Skip to content

Commit ecc31a7

Browse files
committed
cleaner build cmd
1 parent 259ed3d commit ecc31a7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ installer = "uv"
5858

5959
[[tool.hatch.build.hooks.build-scripts.scripts]]
6060
commands = [
61-
"cd src && cd js && cd packages && cd '@reactpy' && cd app && bun install --production --force --frozen-lockfile --no-save",
62-
"cd src && cd js && cd '@reactpy' && cd app && bun build ./src/index.ts --outdir ./dist --minify --sourcemap=linked",
61+
"bun install --production --force --frozen-lockfile --no-save --cwd 'src/js/packages/@reactpy/app'",
62+
"bun build './src/js/packages/@reactpy/app/src/index.ts' --outdir './src/js/packages/@reactpy/app/dist' --minify --sourcemap=linked",
6363
# "cd scripts && python copy_js_output.py",
6464
]
6565
artifacts = []

0 commit comments

Comments
 (0)