DEV Community

Discussion on: 10 New JavaScript Features in ES2020 That You Should Know

Collapse
 
tujoworker profile image
Tobias Høegh • Edited

Actually, it’s something that we will use more in future. It will be a good replacement for Node.js process.env == import.meta.env

Vite, the bundler, does use this already. Webpack will follow I think. At least v5 does not ship the process polyfill by default anymore.

Collapse
 
garvitmotwani profile image
Garvit Motwani

Yep It can be used in the future, it has scope