Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
lukachi committed Apr 4, 2024
1 parent 3ee3501 commit 44d635a
Show file tree
Hide file tree
Showing 3 changed files with 821 additions and 1,249 deletions.
14 changes: 5 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,9 @@
"generate-ether-types": "typechain --target=ethers-v5 'abis/**/*.json' --out-dir src/types/contracts"
},
"dependencies": {
"@distributedlab/jac": "^1.0.0-rc.12",
"@distributedlab/tools": "^1.0.0-rc.12",
"@distributedlab/w3p": "^1.0.0-rc.12",
"@iden3/js-crypto": "1.0.0-beta.1",
"@iden3/js-iden3-core": "1.0.0-beta.2",
"@iden3/js-jsonld-merklization": "1.0.0-beta.14",
"@iden3/js-jwz": "1.0.0-beta.2",
"@iden3/js-merkletree": "1.0.0-beta.4",
"@distributedlab/jac": "^1.0.0-rc.14",
"@distributedlab/tools": "^1.0.0-rc.14",
"@distributedlab/w3p": "^1.0.0-rc.14",
"@worldcoin/idkit": "^1.1.1",
"downshift": "^7.1.2",
"ejc": "^1.0.4",
Expand Down Expand Up @@ -61,7 +56,6 @@
"@typescript-eslint/eslint-plugin": "^5.60.0",
"@typescript-eslint/parser": "^5.60.0",
"@vitejs/plugin-react": "^4.0.1",
"@walletconnect/types": "^2.9.0",
"chalk": "^5.0.1",
"dotenv": "^16.3.1",
"dotenv-cli": "^7.2.1",
Expand All @@ -76,8 +70,10 @@
"eslint-plugin-simple-import-sort": "^10.0.0",
"postcss": "^8.4.24",
"prettier": "^2.7.1",
"rollup-plugin-node-polyfills": "^0.2.1",
"rollup-plugin-visualizer": "^5.9.2",
"sass": "^1.63.6",
"stream": "^0.0.2",
"stylelint": "^15.9.0",
"stylelint-config-standard-scss": "^9.0.0",
"stylelint-declaration-strict-value": "^1.9.2",
Expand Down
13 changes: 0 additions & 13 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,21 +86,10 @@ export default defineConfig(({ mode }) => {
util: path.resolve(__dirname, 'node_modules/util/util.js'),
ejc: path.resolve(__dirname, 'node_modules/ejs/ejs.min.js'),

'near-api-js': 'near-api-js/dist/near-api-js.js',

snarkjs: path.resolve(
__dirname,
'node_modules/snarkjs/build/snarkjs.min.js',
),

/* prettier-ignore-start */
/* eslint-disable */
'@iden3/js-iden3-core': path.resolve(__dirname, 'node_modules/@iden3/js-iden3-core/dist/esm/index.js'),
'@civic/ethereum-gateway-react': path.resolve(__dirname, 'node_modules/@civic/ethereum-gateway-react/dist/esm/index.js'),
'@rarimo/rarime-connector': path.resolve(__dirname, 'node_modules/@rarimo/rarime-connector/dist/index.js'),
'@iden3/js-crypto': path.resolve(__dirname, 'node_modules/@iden3/js-crypto/dist/esm_esbuild/index.js'),
/* eslint-enable */
/* prettier-ignore-end */
},
},
optimizeDeps: {
Expand Down Expand Up @@ -132,8 +121,6 @@ export default defineConfig(({ mode }) => {
manualChunks: {
lodash: ['lodash'],
react: ['react', 'react-dom'],
nearApiJs: ['near-api-js'],
iden3JsJwz: ['@iden3/js-jwz'],
},
},
},
Expand Down
Loading

0 comments on commit 44d635a

Please sign in to comment.