Remove bootstrap async load, as it isn't needed when loading the wasm from a worker
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user