JS (React) Portlets: how to use variables in .npmbuildrc liferay path?

thumbnail
Fernando Fernandez, modified 5 Years ago. Expert Posts: 401 Join Date: 8/22/07 Recent Posts
Hi guys,
When we develop JS Portlets (in our case, React) we have a .npmbuildrc file with a path to the liferay dir. When we share the code through git to be used by other team members or the CI pipeline the file must be present but the path will be probably different.
Is it possible to use variables on this file? If so, how?
TIA
Fernando