Skip to content

fix(ssr): prevent execute it in a not-browser environment#173

Open
xdbobname wants to merge 1 commit intoecomfe:masterfrom
xdbobname:master
Open

fix(ssr): prevent execute it in a not-browser environment#173
xdbobname wants to merge 1 commit intoecomfe:masterfrom
xdbobname:master

Conversation

@xdbobname
Copy link

when bundle code run in ssr environment, it directly throw a error of window not found.
I only want to make it work without error, so I make this pr.

please Take a Look!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant