Skip to content

Commit ec4766c

Browse files
committed
fix(build#oso): only copy dist contents instead of whole folder
1 parent 6c53a9b commit ec4766c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/build_marimo_static_dist.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ PYODIDE=true NODE_OPTIONS=--max-old-space-size=${NODE_HEAP_SIZE:-6144} pnpm vite
3333
# This makes sure our frontend files match the files in marimo WASM.
3434
rm -rf "${repo_dir}/marimo/_static"
3535
mkdir -p "${repo_dir}/marimo/_static"
36-
cp -r dist/ "${repo_dir}/marimo/_static/"
36+
cp -r dist/. "${repo_dir}/marimo/_static/"
3737

3838
# Move files to the build directory
3939
mv dist "${build_path}"
@@ -57,4 +57,4 @@ else
5757
--public-packages-host "${public_packages_host}" \
5858
--public-packages-port "${public_packages_port}" \
5959
--public-packages-base-path "${wasm_base_path}"
60-
fi
60+
fi

0 commit comments

Comments
 (0)