mirror of
https://github.com/pezkuwichain/revive.git
synced 2026-04-23 08:28:00 +00:00
Pack resolc with deps to one file
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user