fix: enable code spliting for app

This commit is contained in:
Lakhan Samani
2021-12-29 04:16:31 +05:30
parent b4b8593879
commit 4c53eb97d2
12 changed files with 65 additions and 246 deletions

View File

@@ -5,13 +5,13 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
<link rel="stylesheet" href="/app/build/bundle.css">
<link rel="stylesheet" href="/app/build/index.css">
<script>
window.__authorizer__ = {{.data}}
</script>
</head>
<body>
<div id="root"></div>
<script src="/app/build/bundle.js"></script>
<script type="module" src="/app/build/index.js"></script>
</body>
</html>