Skip to content

Commit

Permalink
fix(example): fix HDR loader in react example
Browse files Browse the repository at this point in the history
  • Loading branch information
haweston committed Oct 10, 2024
1 parent 03dbea8 commit 9784588
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions examples/react-app/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,12 @@ export default defineConfig(() => {
preview: {
port: 4000,
},
optimizeDeps: {
esbuildOptions: {
loader: {
'.hdr': 'dataurl',
},
},
}
};
});

0 comments on commit 9784588

Please sign in to comment.