mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-07 10:31:46 +00:00
Merge branch 'main' of github.com:storytold/storyteller-board into main
This commit is contained in:
commit
dc12267835
2 files changed
+12
No files matched your search
@@ -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/
|
||||
@@ -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);
|
||||
};
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user