Skip to content

Commit

Permalink
Fix Prod Build Bug w/ Bootstrap & Updated Dependencies (#59)
Browse files Browse the repository at this point in the history
* update dependencies

* attempting to fix  bootstrap install with a resolver

* fix: merged in stashed changes to vite config to chunk react-bootstrap better, resolve bootstrap and css preprocessor setting for vite compiling of project

* fix: changed script tag to defer because on first load of page was looking for root DOM element and not getting it causing react minification error

* chore: removed the unneeded style link in html

* fix: there was a duplication in the AuthenticatedNavBar, made sure the one the homepage is using has the scss styling and made sure the unauthenticated used it as well
  • Loading branch information
bbland1 authored Oct 6, 2024
1 parent 429554f commit 0b75ac6
Show file tree
Hide file tree
Showing 10 changed files with 825 additions and 735 deletions.
8 changes: 1 addition & 7 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,9 @@
content="A smart shopping list that learns your purchase habits and makes suggestions, so you don't forget to buy what's important."
/>
<link rel="icon" type="image/svg+xml" href="/src/favicon.ico" />
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN"
crossorigin="anonymous"
/>
<meta name="color-scheme" content="dark light" />
<title>GrocerEase</title>
<script type="module" src="/src/index.tsx" async></script>
<script type="module" src="/src/index.tsx" defer></script>
</head>
<body>
<div id="root"></div>
Expand Down
Loading

0 comments on commit 0b75ac6

Please sign in to comment.