davestewart / vuex-pathify

Vue / Vuex plugin providing a unified path syntax to Vuex stores
https://davestewart.github.io/vuex-pathify
MIT License
1.37k stars 57 forks source link

Fix broken UMD bundles #117

Closed johannes-z closed 3 years ago

johannes-z commented 3 years ago

Having a dynamic require-call will result in vue-class-components not being added to the bundle, and the require-call stays unchanged, breaking consuming UMD bundles.

Fixes #116

davestewart commented 3 years ago

Published: https://www.npmjs.com/package/vuex-pathify

davestewart commented 3 years ago

Hey @ozum - just checking in with you - is this change OK?

Was there any reason to use a require vs import ?

ozum commented 3 years ago

Hi @davestewart

Was there any reason to use a require vs import ?

Actually, I don't remember. So, if everything works, import is better.