Skip to content

Commit 43847da

Browse files
authored
Merge pull request #1215 from Hexastack/fix/update-widget-index-css-path
fix: update index.html to reference correct CSS output file
2 parents 3523be1 + b102a8a commit 43847da

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

widget/public/index.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!doctype html>
1+
<!DOCTYPE html>
22
<html lang="en">
33
<head>
44
<meta charset="UTF-8" />
@@ -12,7 +12,6 @@
1212
crossorigin
1313
src="https://unpkg.com/react-dom@18/umd/react-dom.production.min.js"
1414
></script>
15-
<link rel="stylesheet" href="./style.css" />
1615
<script src="./hexabot-widget.umd.js"></script>
1716
</head>
1817
<body>

widget/vite.config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright © 2024 Hexastack. All rights reserved.
2+
* Copyright © 2025 Hexastack. All rights reserved.
33
*
44
* Licensed under the GNU Affero General Public License v3.0 (AGPLv3) with the following additional terms:
55
* 1. The name "Hexabot" is a trademark of Hexastack. You may not use this name in derivative works without express written permission.
@@ -27,6 +27,7 @@ export default defineConfig(({ mode }) => {
2727
entry: resolve(__dirname, "src/ChatWidget.tsx"),
2828
name: "HexabotWidget",
2929
fileName: (format) => `hexabot-widget.${format}.js`,
30+
cssFileName: "style",
3031
},
3132
rollupOptions: {
3233
external: ["react", "react-dom"],

0 commit comments

Comments
 (0)