We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 81cdd68 commit fe05f7cCopy full SHA for fe05f7c
chat-ui-quince/index.html
@@ -14,8 +14,9 @@
14
<script>
15
console.log('After loading GIS script');
16
</script>
17
- <script src="/src/main.js"></script>
18
- <script src="/src/google.js"></script>
+ <!-- Remove these; Vite will add bundled paths -->
+ <!-- <script src="/src/main.js"></script> -->
19
+ <!-- <script src="/src/google.js"></script> -->
20
21
</head>
22
<body>
chat-ui-quince/vite.config.js
@@ -0,0 +1,14 @@
1
+import { defineConfig } from 'vite';
2
+
3
+export default defineConfig({
4
+ root: './', // Root is where index.html lives
5
+ build: {
6
+ rollupOptions: {
7
+ input: {
8
+ main: './src/main.js',
9
+ google: './src/google.js',
10
+ app: './index.html' // Explicitly include index.html as an entry
11
+ }
12
13
+});
0 commit comments