in webpack config plugins section use new webpack.DefinePlugin({ "process.env": dotenv.parsed }),. Now you can use the env variables throughout your app.
確定! 回上一頁