eirslett / frontend-maven-plugin

"Maven-node-grunt-gulp-npm-node-plugin to end all maven-node-grunt-gulp-npm-plugins." A Maven plugin that downloads/installs Node and NPM locally, runs NPM install, Grunt, Gulp and/or Karma.
Apache License 2.0
4.24k stars 870 forks source link

Support environment file next to environment variables #1156

Open thahnen opened 3 months ago

thahnen commented 3 months ago

With these changes, support is provided for environment files (e.g., ".env") - basically any key-value pair-based file. If provided, their content is loaded and if used alongside the already existing 'environmentVariables' configuration, then they are merged.

Integration tests are provided for the existing behavior, the new one, and a mix of both.

Fixes #1155