Webpack uses the EnvironmentPlugin to do this. It takes an array of environment variable names to allow in your application. Then all instances of process.env.
確定! 回上一頁