Skip to content

Commit

Permalink
fix: replace polyfillModulePreload with modulePreload.polyfill
Browse files Browse the repository at this point in the history
  • Loading branch information
Flower-F committed Oct 30, 2024
1 parent dbec896 commit b8cb6c8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,10 @@ export default defineConfig(({ mode }) => {
},
},
},
polyfillModulePreload: true,
cssTarget: 'chrome61',
modulePreload: {
polyfill: true,
},
};
}

Expand Down

0 comments on commit b8cb6c8

Please sign in to comment.