I'm interested if there is a way to send var from .env file (I'm using custom webpack, reactJS, dotenv, and sass-loader) to .scss file. What I'm trying to do is to send path (string) to my scss to change font url.
On my localhost url is /fonts/font.ttf, but my app is deployed to the subfolder on the server, so it should be something like /shop/fonts/font.ttf.
Tnx in advance. Cheers!