Skip to content

Commit

Permalink
fix: type error in the vite configuration file. (#416)
Browse files Browse the repository at this point in the history
  • Loading branch information
protogenesis committed Sep 4, 2023
1 parent 51ad881 commit f84b72b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module.exports = defineConfig({
rollupOptions: {
output: {
assetFileNames: assetInfo => {
return assetInfo.name === "style.css" ? `driver.css` : assetInfo.name;
return assetInfo.name === "style.css" ? `driver.css` : assetInfo.name as string;
},
},
},
Expand Down

0 comments on commit f84b72b

Please sign in to comment.