Skip to content

Commit

Permalink
Fix updating error of ress with moduleDetection=false (#1619)
Browse files Browse the repository at this point in the history
* chore(deps): update dependency @tsconfig/vite-react to v3.4.0

* `npm uninstall ress`

* Replace ress with modress

* Prefer ress again, but use unpkg

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
kachick and renovate[bot] authored Nov 27, 2024
1 parent eb62dc9 commit 16e01e4
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 23 deletions.
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
name="description"
content="A web application to manage participants and timer for mob-programming!"
/>
<link rel="stylesheet" href="https://unpkg.com/ress/dist/ress.min.css">
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
<link rel="icon" type="image/png" href="/android-chrome-384x384.png" />
<link rel="preconnect" href="https://fonts.bunny.net" />
Expand Down
27 changes: 8 additions & 19 deletions package-lock.json

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

5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,13 @@
"homepage": "./",
"dependencies": {
"react": "18.3.1",
"react-dom": "18.3.1",
"ress": "5.0.2"
"react-dom": "18.3.1"
},
"devDependencies": {
"@node-rs/deno-lint": "1.20.4",
"@testing-library/react": "16.0.1",
"@testing-library/user-event": "14.5.2",
"@tsconfig/vite-react": "3.0.2",
"@tsconfig/vite-react": "3.4.0",
"@types/node": "22.10.0",
"@types/react": "18.3.12",
"@types/react-dom": "18.3.1",
Expand Down
1 change: 0 additions & 1 deletion src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { StrictMode } from "react";
import { createRoot } from "react-dom/client";
import App from "./App";

import "ress";
import "./index.css";
import { assertIsDefined } from "./common/typeguard";

Expand Down

0 comments on commit 16e01e4

Please sign in to comment.