DEV Community

loading...

Discussion on: How to use .env file in JavaScript applications with webpack

Collapse
sanfra1407 profile image
Giuseppe Sanfrancesco Author

I guess yes: you just need to use webpack-merge, create different webpack config files which read different .env files.