From 8a449080b57122518283057181406dbb8b08f025 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A1nos=20Szathm=C3=A1ry?= <29057504+janory@users.noreply.github.com> Date: Wed, 2 Mar 2022 16:21:55 +0100 Subject: [PATCH] fix: use "static-module" instead of "static" only target (#250) --- npm-js/akkasls-scripts/bin/akkasls-scripts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/npm-js/akkasls-scripts/bin/akkasls-scripts.js b/npm-js/akkasls-scripts/bin/akkasls-scripts.js index 90ee024e..e7986787 100755 --- a/npm-js/akkasls-scripts/bin/akkasls-scripts.js +++ b/npm-js/akkasls-scripts/bin/akkasls-scripts.js @@ -61,7 +61,7 @@ const scriptHandlers = { runOrFail( 'Building static Javascript definitions from proto', path.resolve('node_modules', '.bin', 'pbjs'), - [...protoFiles, '-t', 'static', '-o', protoJs], + [...protoFiles, '-t', 'static-module', '-o', protoJs], { shell: true }, );