frontend-maven-plugin icon indicating copy to clipboard operation
frontend-maven-plugin copied to clipboard

Next to hard-coded environment variables support ".env" files as well

Open thahnen opened this issue 1 year ago • 1 comments

Do you want to request a feature or report a bug?

Feature

What is the current behavior?

Currently, we work with ".env" files managing our environment variables that should not be uploaded into Git. The plug-in cannot cope with it, and we have to run workaround scripts/commands around the actual Maven call. We want to run Maven without having to do this but for it to pick up the content of the ".env" files on its own.

If the current behavior is a bug, please provide the steps to reproduce.

%

What is the expected behavior?

Next to the environmentVariables configuration option, there is another one like environmentFile where the path to the ".env" file can be set. When the plug-in is running it is picked up and handled correctly.

Please mention your frontend-maven-plugin and operating system version.

Plug-in and OS independent.

thahnen avatar Jun 11 '24 07:06 thahnen

Useful feature! Is there any update about this issue?

gkorobkov avatar Apr 05 '25 18:04 gkorobkov