Import preact/debug

This commit is contained in:
Lim Chee Aun 2022-12-12 23:41:31 +08:00
parent f649f60b5b
commit e79bff1aa8

View file

@ -1,9 +1,13 @@
import { render } from 'preact';
import { App } from './app';
import 'iconify-icon';
import '@github/time-elements';
import './index.css';
import '@github/time-elements';
import 'iconify-icon';
import { render } from 'preact';
import { App } from './app';
if (import.meta.env.DEV) {
import('preact/debug');
}
render(<App />, document.getElementById('app'));