Skip to content

Commit 50d3822

Browse files
committed
fix(skeleton): import temporal polyfill in separate entry file before main.tsx
1 parent ba96b94 commit 50d3822

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

skeleton/index.html.liquid

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
</head>
88
<body>
99
<div id="root"></div>
10-
<script type="module" src="/src/temporal-polyfill.ts"></script>
11-
<script type="module" src="/src/main.tsx"></script>
10+
<script type="module" src="/src/entry.ts"></script>
1211
</body>
1312
</html>

skeleton/src/entry.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import "./temporal-polyfill.js";
2+
3+
await import("./main.js");

0 commit comments

Comments
 (0)