When i change the components inside the wrapper i got this warning.
While in dev mode i dont get this warning, only after build.
[Vue warn]: Error in beforeDestroy hook: "TypeError: Cannot read property 'splice' of undefined"
found in
---> <VBar> at node_modules/v-bar/src/components/v-bar.vue
<Forms> at src/components/forms/Entry.vue
<Forms> at src/views/Forms.vue
<App> at src/components/App.vue
<Root>
TypeError: Cannot read property 'splice' of undefined
at removeResizeListener (index.js:154)
at VueComponent.beforeDestroy (eval at ./node_modules/babel-loader/lib/index.js?{"cacheDirectory":true,"babelrc":true}!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./node_modules/v-bar/src/components/v-bar.vue (forms-bundle.chunk.js:12), <anonymous>:175:84)
at callHook (vue.runtime.esm.js:2662)
at VueComponent.Vue.$destroy (vue.runtime.esm.js:2451)
at destroy (vue.runtime.esm.js:3543)
at invokeDestroyHook (vue.runtime.esm.js:5271)
at invokeDestroyHook (vue.runtime.esm.js:5276)
at VueComponent.patch [as __patch__] (vue.runtime.esm.js:5557)
at VueComponent.Vue.$destroy (vue.runtime.esm.js:2474)
at destroy (vue.runtime.esm.js:3543)
When i change the components inside the wrapper i got this warning. While in dev mode i dont get this warning, only after build.
Any ideia?