You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
clone the reproduction repo
follow README.md to install and run
view browser console.log for error
The problem in vite (which does not use webpack, does not have process)
class Store {
constructor (options = {}) {
if (process.env.NODE_ENV !== 'production') {
assert(typeof Promise !== 'undefined', `vuex requires a Promise polyfill in this browser.`);
assert(this instanceof Store, `store must be called with the new operator.`);
}
What is expected?
Vuex createStore runs without error
What is actually happening?
Vuex createStore runs has error when running without webpack
It may have the same problem on ESM build
The text was updated successfully, but these errors were encountered:
Version
4.0.0-beta.1
Reproduction link
https://github.com/ais-one/vite-eg
Steps to reproduce
clone the reproduction repo
follow README.md to install and run
view browser console.log for error
The problem in vite (which does not use webpack, does not have process)
What is expected?
Vuex createStore runs without error
What is actually happening?
Vuex createStore runs has error when running without webpack
It may have the same problem on ESM build
The text was updated successfully, but these errors were encountered: