Simplify frontend assests and build steps

We just write the files directly in the public dir
Then change the npm scripts to lint and compress them directly
This commit is contained in:
Jonny Barnes 2023-12-21 17:57:48 +00:00
parent 1671323012
commit ec17f65107
Signed by: jonny
SSH key fingerprint: SHA256:CTuSlns5U7qlD9jqHvtnVmfYV3Zwl2Z7WnJ4/dqOaL8
38 changed files with 333 additions and 11358 deletions

View file

@ -1,17 +0,0 @@
import '../css/app.css';
import { Auth } from './auth.js';
let auth = new Auth();
document.querySelectorAll('.add-passkey').forEach((el) => {
el.addEventListener('click', () => {
auth.register();
});
});
document.querySelectorAll('.login-passkey').forEach((el) => {
el.addEventListener('click', () => {
auth.login();
});
});