Add support for esm and cjs modules

This commit is contained in:
Sebastian Miasojed committed 2024-11-25 10:26:22 +01:00
1 parent 892c9b5fbe
commit 4e024655a1
14 files changed
+149 -157

No files matched your search

+2 -1
View File
@@ -8,7 +8,7 @@ on:
env:
CARGO_TERM_COLOR: always
REVIVE_WASM_INSTALL_DIR: ${{ github.workspace }}/target/wasm32-unknown-emscripten/release
REVIVE_WASM_INSTALL_DIR: ${{ github.workspace }}/js/dist/revive-cjs
EMSCRIPTEN_VERSION: 3.1.64
jobs:
@@ -75,5 +75,6 @@ jobs:
name: revive-wasm
path: |
${{ env.REVIVE_WASM_INSTALL_DIR }}/resolc.js
${{ env.REVIVE_WASM_INSTALL_DIR }}/worker.js
${{ env.REVIVE_WASM_INSTALL_DIR }}/resolc.wasm
retention-days: 1