How to enable a script in prod environment but not in staging/dev environment when bundle by webpack

后端 未结 0 997
情歌与酒
情歌与酒 2021-01-31 08:34

We are using webpack 4 to build/bundle our project (typescript, reactjs)
there is a script in our template index.ejs

Now, I want these pieces of the script can work

相关标签:
回答
  • 消灭零回复
提交回复
热议问题