1
0
mirror of https://github.com/sehugg/8bitworkshop.git synced 2026-04-24 11:16:38 +00:00

started bundling worker with esbuild

This commit is contained in:
Steven Hugg
2021-07-26 21:18:07 -05:00
parent 55735b4039
commit f3bf1602d5
9 changed files with 48 additions and 128 deletions
+2 -1
View File
@@ -72,7 +72,8 @@ global.FileReaderSync = function() {
global.onmessage = null;
global.postMessage = null;
includeInThisContext("gen/worker/workermain.js");
//includeInThisContext("gen/worker/workermain.js");
require('gen/worker/bundle.js')
global.ab2str = function(buf) {
return String.fromCharCode.apply(null, new Uint16Array(buf));