Skip to content

Commit

Permalink
fix asset stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
connorjclark committed Dec 14, 2023
1 parent 06c3c31 commit 691fb68
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion packages/viewer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
},
"devDependencies": {
"clsx": "^1.0.4",
"preact": "^10.0.1",
"preact": "^10.19.3",
"@fontsource/material-icons": "^4.4.5",
"@fontsource/roboto": "^4.4.5",
"@fontsource/roboto-mono": "^4.4.5"
Expand Down
2 changes: 1 addition & 1 deletion scripts/build-app.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ function fixHtmlSubresourceUrls(result, buildOptions) {
// Rewrite the CSS, making sure we don't source icons relative to the chunks/css file.
const newCssText = fs
.readFileSync(cssDistPath, 'utf-8')
.replaceAll(`url(./assets`, `url(../assets`);
.replaceAll(`url("./assets`, `url("../assets`);
fs.writeFileSync(cssDistPath, newCssText);

for (const jsPath of jss) {
Expand Down
5 changes: 0 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -15571,11 +15571,6 @@ preact-router@^3.1.0:
resolved "https://registry.yarnpkg.com/preact-router/-/preact-router-3.1.0.tgz#fed59487f812baef4a63aa63175e280fa3608151"
integrity sha512-OeiSIl6C4ecfKl4wmEkkz5LO68PuNYuSWk1dxpjmTIMsXVRxm0PWw6PudAISQBjYmzMY9Z6NBfXoZjQDLV3l7g==

preact@^10.0.1:
version "10.0.1"
resolved "https://registry.yarnpkg.com/preact/-/preact-10.0.1.tgz#16451887a8490dd534d60d1bc7d2ff4a70f7e0ee"
integrity sha512-lq7jo1rwwCd1YkiBcuOxRc3I0y1FZACa6O7tgNXt47QZJtSlLEE53f/FDNsLtiB2IVQTHbaey20TjSPmejhDyQ==

preact@^10.19.3:
version "10.19.3"
resolved "https://registry.yarnpkg.com/preact/-/preact-10.19.3.tgz#7a7107ed2598a60676c943709ea3efb8aaafa899"
Expand Down

0 comments on commit 691fb68

Please sign in to comment.