Skip to content

Commit

Permalink
Merge pull request #33 from patricklx/fix-html-transform
Browse files Browse the repository at this point in the history
fix html transform
  • Loading branch information
patricklx authored Jul 14, 2024
2 parents 66dae0d + 94161d9 commit a3f6772
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/hmr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export function hmr(enableViteHmrForModes: string[] = ['development']): Plugin {
}
},
transformIndexHtml(html) {
if (!process.env['EMBER_VITE_HMR_ENABLED']) {
if (process.env['EMBER_VITE_HMR_ENABLED'] !== 'true') {
return html;
}
return (
Expand Down

0 comments on commit a3f6772

Please sign in to comment.