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
The text was updated successfully, but these errors were encountered:
pearofducks
changed the title
ESM browser build still contains references to process
ESM browser build still contains references to process.env
Apr 25, 2020
OK seems like this happened when we forward port Vuex 3 to Vuex 4, where Vuex 3 uses process.env instead of __DEV__. We should just make Vuex 3 use __DEV__ and then merge back in to Vuex 4.
Version
4.0.0-beta.1
Reproduction link
https://unpkg.com/[email protected]/dist/vuex.esm-browser.js
Steps to reproduce
Compare build from 3.3.0
https://unpkg.com/[email protected]/dist/vuex.esm.browser.js
to build for 4.0.0-beta.1
https://unpkg.com/[email protected]/dist/vuex.esm-browser.js
What is expected?
No references to
process.env
What is actually happening?
References to
process.env
which cause it to not be usable in the browser.Original issue creating these builds - #1247
Resolving this is blocking Vuex use in Vite
The text was updated successfully, but these errors were encountered: