Skip to content

Commit

Permalink
fix: disable Vite modulepreload (#5493)
Browse files Browse the repository at this point in the history
* fix: disable Vite modulePreload

Fixed: #5478

* chore: use cleaner option
  • Loading branch information
gioboa authored Nov 28, 2023
1 parent 130f2cc commit 55d3e45
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/qwik/src/optimizer/src/plugins/vite.ts
Original file line number Diff line number Diff line change
Expand Up @@ -301,9 +301,7 @@ export function qwikVite(qwikViteOpts: QwikVitePluginOptions = {}): any {
],
},
build: {
modulePreload: {
polyfill: false,
},
modulePreload: false,
dynamicImportVarsOptions: {
exclude: [/./],
},
Expand Down

0 comments on commit 55d3e45

Please sign in to comment.