fix process is not defined error
This commit is contained in:
parent
bf1be4dfe0
commit
c8b0e9b5d8
@ -33,6 +33,9 @@
|
|||||||
content="https://gacha.counterfire.games/images/counter.png"
|
content="https://gacha.counterfire.games/images/counter.png"
|
||||||
/>
|
/>
|
||||||
</head>
|
</head>
|
||||||
|
<script>
|
||||||
|
window.process = { browser: true, env: { ENVIRONMENT: 'BROWSER' } };
|
||||||
|
</script>
|
||||||
<script type="module">
|
<script type="module">
|
||||||
import { Buffer } from "buffer";
|
import { Buffer } from "buffer";
|
||||||
window.Buffer = Buffer;
|
window.Buffer = Buffer;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user