mirror of
https://github.com/pezkuwichain/revive.git
synced 2026-04-25 15:17:57 +00:00
Pack resolc with deps to one file
This commit is contained in:
@@ -1 +0,0 @@
|
||||
../../../target/wasm32-unknown-emscripten/release/resolc.js
|
||||
Symlink
+1
@@ -0,0 +1 @@
|
||||
../../../target/wasm32-unknown-emscripten/release/resolc_packed.js
|
||||
@@ -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