feat(rln-react-ts): bump @waku/rln to 0.0.8, remove craco

This commit is contained in:
fryorcraken.eth 2022-09-26 14:13:22 +10:00
parent f452056b76
commit 21fd0a7ce2
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4
3 changed files with 1153 additions and 173 deletions

View File

@ -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;
},
},
};

View File

@ -14,7 +14,7 @@
"@types/node": "^16.11.59",
"@types/react": "^18.0.21",
"@types/react-dom": "^18.0.6",
"@waku/rln": "0.0.4",
"@waku/rln": "0.0.8",
"ethers": "^5.7.1",
"js-waku": "^0.29.0",
"react": "^18.2.0",
@ -24,10 +24,10 @@
"web-vitals": "^2.1.4"
},
"scripts": {
"start": "craco start",
"build": "craco build",
"start": "PORT=3004 react-scripts start",
"build": "react-scripts build",
"test": "exit 0",
"eject": "craco eject"
"eject": "react-scripts eject"
},
"eslintConfig": {
"extends": [
@ -46,8 +46,5 @@
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@craco/craco": "^6.4.5"
}
}

File diff suppressed because it is too large Load Diff