Skip to content

Commit

Permalink
Merge pull request #421 from l3vels/fix/build-index
Browse files Browse the repository at this point in the history
fix: build not generating index.html
  • Loading branch information
Chkhikvadze authored Jan 25, 2024
2 parents 2a434f2 + 7d033ae commit 0d5fed8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apps/ui/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ export default defineConfig({
input: {
main: './src/index.tsx', // Main app entry point
widget: './src/TestComp.tsx', // Widget entry point
index: 'index.html',
},
external: ['react', 'react-dom'],
output: {
Expand All @@ -91,6 +92,7 @@ export default defineConfig({
react: 'React',
'react-dom': 'ReactDOM',
},
dir: 'dist',
},
},
// lib: {
Expand Down

0 comments on commit 0d5fed8

Please sign in to comment.