Skip to content

Commit 5f62117

Browse files
committed
Update 2 files
1 parent d4589e1 commit 5f62117

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

main/index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,10 @@ export default defineConfig({
66
plugins: [react()],
77
server: {
88
host: '0.0.0.0',
9-
}
10-
})
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

Comments
 (0)