babel-plugin-variable-replace (npm):  This plugin, like Webpack's DefinePlugin , allows you to create a global variable and configure it in advance.
Keywords: babel-plugin