Merge branch 'main' of github.com:storytold/storyteller-board into main

This commit is contained in:
Michael Chung committed 2024-09-18 17:55:11 -04:00
commit dc12267835
2 files changed
+12

No files matched your search

+3
View File
@@ -5,5 +5,8 @@ set -euxo pipefail
echo "Run build script (TODO: Make strict)"
yarn run build2
echo "Copy test files into dist"
cp -r test/* dist/
echo "List files after build"
find dist/
+9
View File
@@ -0,0 +1,9 @@
onconnect = function (event) {
const port = event.ports[0];
port.onmessage = function (e) {
const workerResult = `Result: ${e.data[0] * e.data[1]}`;
port.postMessage(workerResult);
};
};