mirror of
https://github.com/waku-org/examples.waku.org.git
synced 2025-02-23 19:28:07 +00:00
Merge pull request #119 from waku-org/rln-react-ts-0.0.8
This commit is contained in:
commit
aa85b4c666
@ -1,23 +0,0 @@
|
|||||||
// Thanks https://github.com/Emurgo/cardano-serialization-lib/issues/415
|
|
||||||
|
|
||||||
module.exports = {
|
|
||||||
webpack: {
|
|
||||||
configure: (webpackConfig) => {
|
|
||||||
const wasmExtensionRegExp = /\.wasm$/;
|
|
||||||
webpackConfig.resolve.extensions.push(".wasm");
|
|
||||||
webpackConfig.experiments = {
|
|
||||||
asyncWebAssembly: false,
|
|
||||||
syncWebAssembly: true,
|
|
||||||
};
|
|
||||||
webpackConfig.module.rules.forEach((rule) => {
|
|
||||||
(rule.oneOf || []).forEach((oneOf) => {
|
|
||||||
if (oneOf.type === "asset/resource") {
|
|
||||||
oneOf.exclude.push(wasmExtensionRegExp);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
return webpackConfig;
|
|
||||||
},
|
|
||||||
},
|
|
||||||
};
|
|
@ -14,7 +14,7 @@
|
|||||||
"@types/node": "^16.11.59",
|
"@types/node": "^16.11.59",
|
||||||
"@types/react": "^18.0.21",
|
"@types/react": "^18.0.21",
|
||||||
"@types/react-dom": "^18.0.6",
|
"@types/react-dom": "^18.0.6",
|
||||||
"@waku/rln": "0.0.4",
|
"@waku/rln": "0.0.8",
|
||||||
"ethers": "^5.7.1",
|
"ethers": "^5.7.1",
|
||||||
"js-waku": "^0.29.0",
|
"js-waku": "^0.29.0",
|
||||||
"react": "^18.2.0",
|
"react": "^18.2.0",
|
||||||
@ -24,10 +24,10 @@
|
|||||||
"web-vitals": "^2.1.4"
|
"web-vitals": "^2.1.4"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "craco start",
|
"start": "PORT=3004 react-scripts start",
|
||||||
"build": "craco build",
|
"build": "react-scripts build",
|
||||||
"test": "exit 0",
|
"test": "exit 0",
|
||||||
"eject": "craco eject"
|
"eject": "react-scripts eject"
|
||||||
},
|
},
|
||||||
"eslintConfig": {
|
"eslintConfig": {
|
||||||
"extends": [
|
"extends": [
|
||||||
@ -46,8 +46,5 @@
|
|||||||
"last 1 firefox version",
|
"last 1 firefox version",
|
||||||
"last 1 safari version"
|
"last 1 safari version"
|
||||||
]
|
]
|
||||||
},
|
|
||||||
"devDependencies": {
|
|
||||||
"@craco/craco": "^6.4.5"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
1292
rln-react-ts/pnpm-lock.yaml
generated
1292
rln-react-ts/pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user