crawlnicle/frontend/js/index.ts

18 lines
330 B
TypeScript
Raw Normal View History

import htmx from 'htmx.org';
2023-09-02 18:01:18 +00:00
// import assets so they get named with a content hash that busts caches
// import '../css/styles.css';
import './localTimeController';
declare global {
interface Window {
htmx: typeof htmx;
}
}
window.htmx = htmx;
2023-09-02 18:01:18 +00:00
// eslint-disable-next-line import/first
import 'htmx.org/dist/ext/sse';