Revert "fix: add build step to build wasm (#21)"

This reverts commit 4144099c2b.
This commit is contained in:
tsukino
2024-06-11 22:17:26 +08:00
parent 4144099c2b
commit ff6b60c0a5
3 changed files with 1 additions and 15 deletions

View File

@@ -1,13 +0,0 @@
#!/bin/bash
# changing directory to ./rs/verifier
cd ./rs/verifier
# checking if node_modules directory exists
if [ ! -d "./node_modules" ]; then
# install the dependencies using npm i command if node_modules not found
npm i
fi
# build the project using npm run build command
npm run build

View File

@@ -5,7 +5,6 @@
"main": "index.js",
"scripts": {
"build:ui": "NODE_ENV=production webpack --config webpack.web.config.js",
"build:wasm": "build-wasm.sh",
"watch:ui": "NODE_ENV=development webpack --config webpack.web.config.js --watch",
"dev:ui": "NODE_ENV=development webpack-dev-server --config webpack.web.config.js --hot",
"build:server": "NODE_ENV=production webpack --config webpack.server.config.js",
@@ -13,7 +12,7 @@
"nodemon:server": "NODE_ENV=development nodemon build/server/index.bundle.js",
"dev:server": "NODE_ENV=development concurrently npm:watch:server npm:nodemon:server",
"start": "node build/server/index.bundle.js",
"build": "concurrently npm:build:wasm npm:build:ui npm:build:server",
"build": "concurrently npm:build:ui npm:build:server",
"dev": "concurrently npm:watch:ui npm:dev:server",
"lint": "eslint .",
"lint:fix": "eslint . --fix"

Binary file not shown.