EmilMoe9 years agoLevel 10ReplyReport SpamEnvironment variables are defined either by server configurations or within PHP. Unfortunately that can't be transfered to Node and JavaScript. You must make a custom script that parses the .env file if you want that, but may I ask in which case you need this? Like Reply
sl0wik OP 9 years agoLevel 7ReplyReport SpamWhat about https://laravel.com/docs/5.4/mix#environment-variables ? Like Reply
jimmck9 years agoLevel 13ReplyReport Spamhttps://github.com/sass/node-sass/issues/1778 Like Reply 1 like
EmilMoe9 years agoLevel 10ReplyReport SpamI see. I take my words back, I didn't knew a proxy already existed :-) But you still need to inject those to your SASS. I'm afraid of trying to say too many truths now ;-) But maybe you can inject parameters to sass from mix? Like Reply
sl0wik OP 9 years agoLevel 7ReplyReport SpamSeems like I can do it only with "dirty" tricks like playing with include path, or generating files. Like Reply