From 567d591f42bfb50e4d8746de7c00c3fd0bde858e Mon Sep 17 00:00:00 2001 From: Rachel Powers <508861+Ryex@users.noreply.github.com> Date: Fri, 12 Apr 2024 14:19:44 -0700 Subject: [PATCH] fix shoelace assets Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com> --- www/src/ts/app/app.ts | 2 +- www/webpack.config.js | 2 +- www/webpack.config.prod.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/www/src/ts/app/app.ts b/www/src/ts/app/app.ts index 85dd0d3..033911e 100644 --- a/www/src/ts/app/app.ts +++ b/www/src/ts/app/app.ts @@ -8,7 +8,7 @@ import { ShareSessionDialog } from "./share"; import { setBasePath } from "@shoelace-style/shoelace/dist/utilities/base-path.js"; // Set the base path to the folder you copied Shoelace's assets to -setBasePath("/shoelace"); +setBasePath("shoelace"); import "@shoelace-style/shoelace/dist/components/split-panel/split-panel.js"; diff --git a/www/webpack.config.js b/www/webpack.config.js index 2c1fc0f..e70e47d 100644 --- a/www/webpack.config.js +++ b/www/webpack.config.js @@ -33,7 +33,7 @@ module.exports = { __dirname, "node_modules/@shoelace-style/shoelace/dist/assets", ), - to: path.resolve(__dirname, "dist/shoelace/assets"), + to: "shoelace/assets", }, ], }), diff --git a/www/webpack.config.prod.js b/www/webpack.config.prod.js index 744ea87..ea8b065 100644 --- a/www/webpack.config.prod.js +++ b/www/webpack.config.prod.js @@ -30,7 +30,7 @@ module.exports = { __dirname, "node_modules/@shoelace-style/shoelace/dist/assets", ), - to: path.resolve(__dirname, "dist/shoelace/assets"), + to: "shoelace/assets", }, ], }),