Skip to content

Commit

Permalink
Use util instead of Node.js util
Browse files Browse the repository at this point in the history
  • Loading branch information
thienandangthanh committed Nov 7, 2023
1 parent 69b62f9 commit 8036a6e
Show file tree
Hide file tree
Showing 3 changed files with 132 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ui-vite/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,9 @@
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<script type="module" src="/src/index.tsx"></script>
<script>
globalThis.global = globalThis;
globalThis.process = { env: {} };
</script>
</body>
</html>
127 changes: 127 additions & 0 deletions ui-vite/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions ui-vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.3",
"typescript": "^5.0.2",
"util": "^0.12.5",
"vite": "^4.4.5"
}
}

0 comments on commit 8036a6e

Please sign in to comment.