Skip to content

ESM browser build still contains references to process.env #1730

Closed
@pearofducks

Description

@pearofducks

Version

4.0.0-beta.1

Reproduction link

https://unpkg.com/vuex@4.0.0-beta.1/dist/vuex.esm-browser.js

Steps to reproduce

Compare build from 3.3.0

https://unpkg.com/vuex@3.3.0/dist/vuex.esm.browser.js

to build for 4.0.0-beta.1

https://unpkg.com/vuex@4.0.0-beta.1/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

Metadata

Metadata

Assignees

Labels

4.xbugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions