-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Closed
Description
Simple question, but I'm a little lost with the way webpack.DefinePlugin interacts with the application.
For my http calls, I'd like to have a variable that is dynamic based on the process.env.ENV. What's the best way to define a variable in both my webpack.config.js and webpack.prod.config.js files? And what's the best way to make them global variables in the application?
Metadata
Metadata
Assignees
Labels
No labels