refactor: ensure ssr branches are included in esm-bundler build
This commit is contained in:
@@ -280,7 +280,7 @@ function doWatch(
|
||||
|
||||
// in SSR there is no need to setup an actual effect, and it should be noop
|
||||
// unless it's eager
|
||||
if (__NODE_JS__ && isInSSRComponentSetup) {
|
||||
if (__SSR__ && isInSSRComponentSetup) {
|
||||
// we will also not call the invalidate callback (+ runner is not set up)
|
||||
onInvalidate = NOOP
|
||||
if (!cb) {
|
||||
|
||||
Reference in New Issue
Block a user