fix: @flecks/web/client.up hook check
This commit is contained in:
parent
531b8900da
commit
ea99829685
|
@ -1,6 +1,6 @@
|
||||||
export const hooks = {
|
export const hooks = {
|
||||||
'@flecks/core.hmr.hook': (hook) => {
|
'@flecks/core.hmr.hook': (hook) => {
|
||||||
if ('@flecks/web/client.up' !== hook) {
|
if ('@flecks/web/client.up' === hook) {
|
||||||
throw new Error('@flecks/web/client.up implementation changed!');
|
throw new Error('@flecks/web/client.up implementation changed!');
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user