Closed
Description
What problem does this feature solve?
I use css variables in my application. But they are not supported in old browsers. Because of this I need to use css-vars-ponyfill. But call to this library is necessary only in old browsers. And because of this I need a way to detect modern/legacy build to include this code only in legacy build.
What does the proposed API look like?
I think, information about current build type could be accessed via process.env
variable.
For example: process.env.IS_MODERN_BUILD