diff --git a/frontend/build/webpack.config.js b/frontend/build/webpack.config.js
index 42723cfe5..77ead1d55 100644
--- a/frontend/build/webpack.config.js
+++ b/frontend/build/webpack.config.js
@@ -36,7 +36,7 @@ module.exports = (env) => {
},
entry: {
- index: 'index.js'
+ index: 'index.ts'
},
resolve: {
@@ -97,7 +97,8 @@ module.exports = (env) => {
new HtmlWebpackPlugin({
template: 'frontend/src/index.ejs',
filename: 'index.html',
- publicPath: '/'
+ publicPath: '/',
+ inject: false
}),
new FileManagerPlugin({
diff --git a/frontend/src/bootstrap.tsx b/frontend/src/bootstrap.tsx
new file mode 100644
index 000000000..c07e581b5
--- /dev/null
+++ b/frontend/src/bootstrap.tsx
@@ -0,0 +1,21 @@
+import { createBrowserHistory } from 'history';
+import React from 'react';
+import { render } from 'react-dom';
+import createAppStore from 'Store/createAppStore';
+import { fetchTranslations } from 'Utilities/String/translate';
+import App from './App/App';
+
+export async function bootstrap() {
+ const history = createBrowserHistory();
+ const store = createAppStore(history);
+ const hasTranslationsError = !(await fetchTranslations());
+
+ render(
+