Remove bootstrap async load, as it isn't needed when loading the wasm from a worker

This commit is contained in:
Mark Sinclair
2022-11-04 10:57:08 +00:00
parent f805eebce7
commit c2a113f1b3
2 changed files with 2 additions and 4 deletions
@@ -1,2 +0,0 @@
import('./index')
.catch(error => console.error('Unable to load app :-(', error));
@@ -15,12 +15,12 @@ module.exports = mergeWithRules({
inject: true,
filename: 'index.html',
template: path.resolve(__dirname, 'src/index.html'),
chunks: ['bootstrap'],
chunks: ['index'],
},
]),
{
entry: {
bootstrap: path.resolve(__dirname, 'src/bootstrap.ts'),
index: path.resolve(__dirname, 'src/index.tsx'),
worker: require.resolve('@nymproject/sdk/mixnet/wasm/worker.js'),
},
output: {