Skip to content

Commit

Permalink
Fix workflow 4
Browse files Browse the repository at this point in the history
  • Loading branch information
wrnrlr committed Oct 28, 2024
1 parent 7501555 commit aa08498
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion www/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ export default defineConfig(({ command, mode }) => {
'index': path.join(root, 'index.html'),
'playground': path.join(root, 'playground.html'),
}
if (command==='serve' && fs.existsSync('docs/index.html')) input[docs] = path.join(root, 'docs/index.html')
if (fs.existsSync('docs/index.html')) input[docs] = path.join(root, 'docs/index.html')

build = {
// lib: { entry: 'src/mod.ts', formats: ['es'] },
rollupOptions: {
Expand Down

0 comments on commit aa08498

Please sign in to comment.