This PR fixes the dynamic import attempt I make in getWebCrypto() to correctly use import() instead of require().
It turns out this also fixed the "issue" that lead to me setting up a double-build in server, so this PR includes cleanup of that to get server back down to a single build.
Fixes #427.
Manual Test
I tested the fix with the following files and Node had no problem running either:
This PR fixes the dynamic import attempt I make in
getWebCrypto()
to correctly useimport()
instead ofrequire()
.It turns out this also fixed the "issue" that lead to me setting up a double-build in server, so this PR includes cleanup of that to get server back down to a single build.
Fixes #427.
Manual Test
I tested the fix with the following files and Node had no problem running either:
test_node.cjs
test_node.mjs