Fix stylesheet bundling

This commit is contained in:
arne 2024-01-27 14:12:01 +01:00
commit c644cede2e
2 changed files with 2 additions and 1 deletions

View file

@ -4,7 +4,6 @@
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>ripples | compost.party</title> <title>ripples | compost.party</title>
<link rel="stylesheet" href="/src/style.css" type="text/css" media="screen" />
</head> </head>
<body> <body>
<div id="presence-info"></div> <div id="presence-info"></div>

View file

@ -1,3 +1,5 @@
import './style.css'
const presenceInfo = document.querySelector<HTMLDivElement>('#presence-info')! const presenceInfo = document.querySelector<HTMLDivElement>('#presence-info')!
const canvas = document.querySelector<HTMLCanvasElement>('#canvas')! const canvas = document.querySelector<HTMLCanvasElement>('#canvas')!
const socket = new WebSocket(`ws://${window.location.hostname}:3000`) const socket = new WebSocket(`ws://${window.location.hostname}:3000`)