Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
JS (React) Portlets: how to use variables in .npmbuildrc liferay path?
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
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