mirror of
https://github.com/garraflavatra/rolens.git
synced 2025-01-18 21:17:59 +00:00
17 lines
433 B
JavaScript
17 lines
433 B
JavaScript
import './styles/loading.css';
|
|
import './styles/reset.css';
|
|
import './styles/style.css';
|
|
|
|
import { LogError } from '$wails/runtime';
|
|
import App from './app.svelte';
|
|
|
|
window.addEventListener('unhandledrejection', event => {
|
|
LogError('Unhandled Rejection in JS! Reason:');
|
|
LogError(String(event.reason));
|
|
});
|
|
|
|
// @ts-ignore Argument IS correct.
|
|
const app = new App({ target: document.getElementById('app') });
|
|
|
|
export default app;
|