dotenv-webpack icon indicating copy to clipboard operation
dotenv-webpack copied to clipboard

Verbose - Add the ability to log when a variable gets used

Open mrsteele opened this issue 8 years ago • 0 comments

I want to provide confidence to users about the effectiveness of the plugin to provide a secure approach to use .env files with bundles.

I was thinking it may be a good idea to apply a debug parameter to output in the console during the bundle process to show when a variable gets used. This would allow users to see exactly when something gets used.

Another use case would be for shared server and client files. We could show them when a variable gets added to the bundle to allow them to see if they accidentally leaked sensitive information.

Thoughts would be greatly appreciated.

mrsteele avatar Mar 28 '17 14:03 mrsteele