Skip to content
Snippets Groups Projects
Verified Commit cd98ebbd authored by Mateusz Tyszczak's avatar Mateusz Tyszczak :scroll:
Browse files

Fix WASM bundling

parent ae140db2
No related branches found
No related tags found
No related merge requests found
Pipeline #117410 canceled
...@@ -37,6 +37,7 @@ build: ...@@ -37,6 +37,7 @@ build:
artifacts: artifacts:
paths: paths:
- hiveio-metamask-snap-*.tgz - hiveio-metamask-snap-*.tgz
- snapper*.log.json
when: always when: always
expire_in: 1 week expire_in: 1 week
......
{ {
"name": "@hiveio/metamask-snap", "name": "@hiveio/metamask-snap",
"version": "1.0.0", "version": "1.0.1",
"description": "Hive wallet extension allowing you to sign transactions using keys derived from your Metamask wallet", "description": "Hive wallet extension allowing you to sign transactions using keys derived from your Metamask wallet",
"main": "./dist/bundle.js", "main": "./dist/bundle.js",
"files": [ "files": [
......
...@@ -12,6 +12,6 @@ pnpm exec snapper -p "${SNAP_PATH}" --output "${LOG_FILE}" ...@@ -12,6 +12,6 @@ pnpm exec snapper -p "${SNAP_PATH}" --output "${LOG_FILE}"
# Display simplified human-readable report and exit with error code if any issues found # Display simplified human-readable report and exit with error code if any issues found
if [ -f "${LOG_FILE}" ]; then if [ -f "${LOG_FILE}" ]; then
jq -r '.ESLinting[] | "\(.position.filePath):\(.position.lineNum):\n\(.type): \(.description)\n"' "${LOG_FILE}" jq -r 'to_entries[] | .value[] | "\(.position.filePath):\(.position.lineNum):\n\(.type): \(.description)\n"' "${LOG_FILE}"
exit 1 exit 1
fi; fi;
...@@ -7,9 +7,6 @@ const config: SnapConfig = { ...@@ -7,9 +7,6 @@ const config: SnapConfig = {
server: { server: {
port: 8080 port: 8080
}, },
experimental: {
wasm: true
},
customizeWebpackConfig: webpackConfig => { customizeWebpackConfig: webpackConfig => {
webpackConfig.module = webpackConfig.module ?? {}; webpackConfig.module = webpackConfig.module ?? {};
webpackConfig.module.rules = webpackConfig.module.rules ?? []; webpackConfig.module.rules = webpackConfig.module.rules ?? [];
......
{ {
"version": "1.0.0", "version": "1.0.1",
"description": "Hive wallet extension allowing you to sign transactions using keys derived from your Metamask wallet", "description": "Hive wallet extension allowing you to sign transactions using keys derived from your Metamask wallet",
"proposedName": "Hive Wallet", "proposedName": "Hive Wallet",
"repository": { "repository": {
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
"url": "git+https://gitlab.syncad.com/hive/metamask-snap.git" "url": "git+https://gitlab.syncad.com/hive/metamask-snap.git"
}, },
"source": { "source": {
"shasum": "cJhQWny3lmSgum2PkEdzz3al8F/+3pZds+IG+feH620=", "shasum": "FzpJXdDNOVkP9aESauH9YuVQCd0PdhJDR8AXmBblk2E=",
"location": { "location": {
"npm": { "npm": {
"filePath": "dist/bundle.js", "filePath": "dist/bundle.js",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment