Skip to content

Commit

Permalink
Issue with vite plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
marshall2112 committed Apr 13, 2023
1 parent 0284a91 commit 14ecfdc
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions apps/dapp/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,10 @@ const plugins = [
legacy(),
];

if (process.env.BUILD_STATS) {
plugins.push(visualizer());
}
// Removing this for now as it's causing build issues
// if (process.env.BUILD_STATS) {
// plugins.push(visualizer());
// }

const VITE_ENV = process.env.VITE_ENV;
const shouldBuildSourceMap = VITE_ENV === 'local' || VITE_ENV === 'preview';
Expand Down

0 comments on commit 14ecfdc

Please sign in to comment.