Skip to content

Commit

Permalink
Include bot html
Browse files Browse the repository at this point in the history
  • Loading branch information
gparant committed Apr 26, 2024
1 parent d3b77f1 commit 831f692
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 3 deletions.
2 changes: 1 addition & 1 deletion example/bot-edit.html
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,6 @@
</div>
</div>

<script type="module" src="/src/main.ts"></script>
<script type="module" src="../src/main.ts"></script>
</body>
</html>
2 changes: 1 addition & 1 deletion example/bot-list.html
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,6 @@
</div>
</div>

<script type="module" src="/src/main.ts"></script>
<script type="module" src="../src/main.ts"></script>
</body>
</html>
2 changes: 1 addition & 1 deletion example/bot-logs.html
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,6 @@
</div>
</div>

<script type="module" src="/src/main.ts"></script>
<script type="module" src="../src/main.ts"></script>
</body>
</html>
10 changes: 10 additions & 0 deletions example/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@ import { defineConfig } from "vite";

export default defineConfig({
base: "./",
build: {
rollupOptions: {
input: {
index: "./index.html",
botList: "./bot-list.html",
botEdit: "./bot-edit.html",
botLogs: "./bot-logs.html",
},
},
},
server: {
open: true,
},
Expand Down

0 comments on commit 831f692

Please sign in to comment.