Skip to content

Commit

Permalink
Force optimization of UiKit in dev mode to avoid to avoid "importing …
Browse files Browse the repository at this point in the history
…binding name default cannot be resolved by star export entries" error
  • Loading branch information
UserFrosting committed Dec 14, 2024
1 parent 519e50e commit de35396
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,9 @@ export default defineConfig({
},
},
},
// Force optimization of UiKit in dev mode to avoid to avoid the error:
// "importing binding name 'default' cannot be resolved by star export entries"
optimizeDeps: {
include: ['uikit', 'uikit/dist/js/uikit-icons'],
}
})

0 comments on commit de35396

Please sign in to comment.