Skip to content

Commit 5ed5ea4

Browse files
committed
Force optimization of UiKit in dev mode to avoid to avoid "importing binding name 'default' cannot be resolved by star export entries" error
1 parent eb060e3 commit 5ed5ea4

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

vite.config.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,9 @@ export default defineConfig({
3737
},
3838
},
3939
},
40+
// Force optimization of UiKit in dev mode to avoid to avoid the error:
41+
// "importing binding name 'default' cannot be resolved by star export entries"
42+
optimizeDeps: {
43+
include: ['uikit', 'uikit/dist/js/uikit-icons'],
44+
}
4045
})

0 commit comments

Comments
 (0)