Pack resolc with deps to one file

This commit is contained in:
Sebastian Miasojed
2025-01-29 15:44:00 +01:00
parent 8f87d01101
commit 137ff4a519
8 changed files with 33 additions and 207 deletions
+1 -3
View File
@@ -1,10 +1,8 @@
importScripts("./soljson.js");
importScripts("./resolc.js");
importScripts("./resolc_packed.js");
// Handle messages from the main thread
onmessage = async function (e) {
const m = createRevive();
m.soljson = Module;
// Set input data for stdin
m.writeToStdin(e.data);