Skip to content

Commit

Permalink
Disable minify on release dist (#737)
Browse files Browse the repository at this point in the history
  • Loading branch information
huchenlei authored Sep 5, 2024
1 parent 95701ab commit ce157af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vite.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import dotenv from "dotenv";
dotenv.config();

const IS_DEV = process.env.NODE_ENV === 'development';
const SHOULD_MINIFY = process.env.ENABLE_MINIFY !== 'false';
const SHOULD_MINIFY = process.env.ENABLE_MINIFY === 'true';

interface ShimResult {
code: string;
Expand Down

0 comments on commit ce157af

Please sign in to comment.