diff --git a/sdk/typescript/examples/react-webpack-with-theme-example/src/bootstrap.ts b/sdk/typescript/examples/react-webpack-with-theme-example/src/bootstrap.ts deleted file mode 100644 index 9cebe266a3..0000000000 --- a/sdk/typescript/examples/react-webpack-with-theme-example/src/bootstrap.ts +++ /dev/null @@ -1,2 +0,0 @@ -import('./index') - .catch(error => console.error('Unable to load app :-(', error)); diff --git a/sdk/typescript/examples/react-webpack-with-theme-example/webpack.common.js b/sdk/typescript/examples/react-webpack-with-theme-example/webpack.common.js index d74befa8b2..2da82351d6 100644 --- a/sdk/typescript/examples/react-webpack-with-theme-example/webpack.common.js +++ b/sdk/typescript/examples/react-webpack-with-theme-example/webpack.common.js @@ -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: {