mirror of https://github.com/sveltejs/svelte
parent
f5ea3ad8d9
commit
872fa3a66c
@ -1,6 +1,6 @@
|
||||
<script>
|
||||
import { DEV } from "esm-env";
|
||||
console.info("prod", DEV)
|
||||
|
||||
if (DEV) {
|
||||
throw new Error("Dev-only code must not run");
|
||||
}
|
||||
|
||||
Loading…
Reference in new issue