Skip to content

Commit 286a3a2

Browse files
committed
refactor: change player
1 parent c278201 commit 286a3a2

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

iframe.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<title>iframe</title>
5+
<meta charset="UTF-8" />
6+
</head>
7+
<body>
8+
<script src="/src/common/iframe/iframe.ts" type="module"></script>
9+
</body>
10+
</html>

vite.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ export default defineConfig({
1313
rollupOptions: {
1414
input: {
1515
main: resolve(__dirname, 'index.html'), // основное SPA
16+
iframe: resolve(__dirname, 'iframe.html'), // дополнительная точка входа
1617
},
1718
},
1819
outDir: 'dist',

0 commit comments

Comments
 (0)