Skip to content

Commit

Permalink
copy wasm artifacts to dist/dist for commonjs builds
Browse files Browse the repository at this point in the history
  • Loading branch information
woodser committed Oct 2, 2023
1 parent dc1e69d commit eaea198
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"build_web_tests": "webpack --config ./webpack.tests.js",
"test": "npm run build_commonjs && node --enable-source-maps --no-experimental-fetch --experimental-wasm-threads node_modules/mocha/bin/_mocha --require @babel/register 'dist/src/test/TestAll' --timeout 900000000 --exit",
"typedoc": "typedoc ./index.ts --out ./docs/typedocs --excludePrivate --disableSources",
"build_commonjs": "babel ./src --extensions '.js,.ts' --out-dir ./dist/src && babel ./index.ts --extensions '.ts' --out-dir ./dist && mkdir -p dist/dist && cp dist/*.js dist/dist && cp dist/*.js.map dist/dist && cp dist/*.wasm dist/dist",
"build_commonjs": "babel ./src --extensions '.js,.ts' --out-dir ./dist/src && babel ./index.ts --extensions '.ts' --out-dir ./dist && mkdir -p dist/dist && cp dist/monero_wallet_full.js dist/monero_wallet_keys.js dist/dist && cp dist/*.js.map dist/dist && cp dist/*.wasm dist/dist",
"check_babel_version": "babel -V"
},
"build": {
Expand Down

0 comments on commit eaea198

Please sign in to comment.