Skip to content

Commit

Permalink
fix: only assign ngDevMode during build (#373)
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonroberts committed May 5, 2023
1 parent 9b3382c commit b89a47a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,9 @@ export function angular(options?: PluginOptions): Plugin[] {
}) as any,
],
define: {
ngDevMode: watchMode ? JSON.stringify({}) : 'false',
ngJitMode: 'false',
ngI18nClosureMode: 'false',
...(watchMode ? {} : { ngDevMode: 'false' }),
},
},
},
Expand Down

0 comments on commit b89a47a

Please sign in to comment.