update rspack

This commit is contained in:
velzie 2024-08-02 17:49:14 -04:00
parent cb395552c8
commit fc8738b239
No known key found for this signature in database
GPG key ID: 048413F95F0DDE1F
3 changed files with 54 additions and 25 deletions

View file

@ -1,17 +0,0 @@
import { addListener, launch } from "devtools-detector";
function jail() {
setInterval(() => {
console.error("SCRAMJET ERROR");
debugger;
}, 0);
}
addListener((open) => open && jail());
if (!["http://localhost:1337"].includes(window.location.origin)) {
jail();
}
launch();