This repository was archived by the owner on Jul 23, 2025. It is now read-only.

Description
Can't use in browser, cause of error:
Uncaught ReferenceError: exports is not defined
at direct-vuex.js:5
I am using SystemJs for production (with ie11 support) bundle with type="systemjs-importmap" like this:
{
"imports": {
"direct-vuex": "https://cdn.jsdelivr.net/npm/[email protected]/dist/direct-vuex.min.js",
"vue": "https://cdn.jsdelivr.net/npm/[email protected]/dist/vue.min.js",
"vuex": "https://cdn.jsdelivr.net/npm/[email protected]/dist/vuex.min.js",
"wretch": "https://cdn.jsdelivr.net/npm/[email protected]/dist/bundle/wretch.min.js"
}
}
and all ok except direct-vuex =(