spatie / server-side-rendering

Server side rendering JavaScript in a PHP application
https://sebastiandedeyne.com/posts/2018/server-side-rendering-javascript-from-php
MIT License
602 stars 34 forks source link

fix: set global environment variables #47

Closed jaulz closed 3 years ago

jaulz commented 3 years ago

Currently, a new local variable process is generated but actually what we want is we want to add the values to the global process variable. This PR will set global environment variables in the code.

sebastiandedeyne commented 3 years ago

Missed this, I think PR #49 fixed this in the mean time.

Thanks!