Skip to content

Commit

Permalink
fix: treeshaking error
Browse files Browse the repository at this point in the history
  • Loading branch information
LittleSound committed Dec 27, 2023
1 parent 4d04f5e commit b57405c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/reactivity/src/baseWatch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ export function baseWatch(
onTrigger,
scheduler = DEFAULT_SCHEDULER,
handleError: handleError = DEFAULT_HANDLE_ERROR,
handleWarn: handleWarn = warn,
handleWarn: handleWarn = __DEV__ ? warn : NOOP,
}: BaseWatchOptions = EMPTY_OBJ,
): WatchInstance {
const warnInvalidSource = (s: unknown) => {
Expand Down

0 comments on commit b57405c

Please sign in to comment.