How to access webpack environmental variables in nativescript?
I want to store an environmental variable in webpack.config.js, that I will set when I bundle the app with webpack in Nativescript. The goal is to keep the environmental variable secret even after the bundle. How do I do that? I believe this should be possible, as described (but not detailed) here: https://docs.nativescript.org/performance-optimizations/bundling-with-webpack . But I am not able to get it to work in testing. I am new to webpack, so I may be missing something obvious. To keep it simple, I am going to call the variable 'simple_env_variable', and give it a value 'here_is_the_value