Skip to content

Commit

Permalink
fix: disable Vite modulePreload
Browse files Browse the repository at this point in the history
  • Loading branch information
gioboa committed Nov 28, 2023
1 parent 130f2cc commit ee8f33c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/qwik/src/optimizer/src/plugins/vite.ts
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,10 @@ export function qwikVite(qwikViteOpts: QwikVitePluginOptions = {}): any {
},
build: {
modulePreload: {
polyfill: false,
resolveDependencies() {
// Your list of preloaded deps.
return [];
},
},
dynamicImportVarsOptions: {
exclude: [/./],
Expand Down

0 comments on commit ee8f33c

Please sign in to comment.