We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4589e1 commit 5f62117Copy full SHA for 5f62117
main/index.js
@@ -0,0 +1,3 @@
1
+import myHTML from '../dist/index.html';
2
+
3
+// Şimdi myHTML değişkeni içinde HTML içeriğiniz bulunur
vite.config.js
@@ -6,5 +6,10 @@ export default defineConfig({
6
plugins: [react()],
7
server: {
8
host: '0.0.0.0',
9
- }
10
-})
+ },
+ build: {
11
+ rollupOptions: {
12
+ input: 'main/index.js', // Specify the correct path to your entry JavaScript file
13
14
15
+});
0 commit comments