Skip to content

Commit 0445d05

Browse files
feat: define path for custom serverless functions in TS generated to RS (#255)
1 parent e6b222a commit 0445d05

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

kit/build/build-sputnik-with-mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@ set -euo pipefail
55
DEPLOY_DIR="$PWD/target/deploy"
66
PKG_JSON_DIR="$PWD/target/sputnik"
77

8-
# Set the path for the developer JS bundle used in the build process.
8+
# Set the path for the developer JS bundle and RS moduel with custom functions generated by the build process.
99
export DEV_SCRIPT_PATH="$DEPLOY_DIR/sputnik.index.mjs"
10+
export DEV_FUNCTIONS_PATH="$DEPLOY_DIR/sputnik_index.rs"
1011

1112
# Build the Sputnik canister.
1213
./kit/build/build-sputnik --pkg-json-dir="$PKG_JSON_DIR" > /dev/null

0 commit comments

Comments
 (0)