Skip to content

Commit

Permalink
Replace create-react-app with vite
Browse files Browse the repository at this point in the history
  • Loading branch information
HSZemi committed Nov 19, 2023
1 parent 286052d commit e22a02e
Show file tree
Hide file tree
Showing 61 changed files with 15,402 additions and 41,528 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ presets-and-drafts.json
*.log.xz
*.log.gz

/dist

# See https://help.github.com/ignore-files/ for more about ignoring files.
.idea/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ const renderNodes = (reactNodes: React.ReactNodeArray|string): React.ReactNode =
}

return Object.keys(reactNodes).map((key, i) => {
// @ts-ignore
const child = reactNodes[key];
const isElement = React.isValidElement(child);

Expand Down
File renamed without changes.
6 changes: 4 additions & 2 deletions public/index.html → index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
manifest.json provides metadata used when your web app is added to the
homescreen on Android. See https://developers.google.com/web/fundamentals/engage-and-retain/web-app-manifest/
-->
<link rel="manifest" href="%PUBLIC_URL%/manifest.json">
<link rel="shortcut icon" href="%PUBLIC_URL%/favicon.png">
<link rel="manifest" href="/manifest.json">
<link rel="shortcut icon" href="/favicon.png">
<!--
Notice the use of %PUBLIC_URL% in the tags above.
It will be replaced with the URL of the `public` folder during the build.
Expand All @@ -36,5 +36,7 @@
To begin the development, run `npm start` or `yarn start`.
To create a production bundle, use `npm run build` or `yarn build`.
-->
<script type="module" src="/src/nodespecific.ts"></script>
<script type="module" src="/src/index.tsx"></script>
</body>
</html>
Loading

0 comments on commit e22a02e

Please sign in to comment.