-
Notifications
You must be signed in to change notification settings - Fork 31
Define environment variables by default #38
Copy link
Copy link
Open
Description
I think it'd make sense to define everything in process.env by default, so instead of
/// #if env == 'PRODUCTION'
/// #if PRODUCTIONone can do a more standard
/// #if NODE_ENV === 'production'
/// #if process.env.NODE_ENV === 'production'Variables defined in options should overwrite bare variables like NODE_ENV but process.env should always reflect the actual environment.
I imagine this would allow to integrate the loader with default options in most cases.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels