title: Error MSB3073: The command "node node_modules/webpack/bin/webpack.js --env.prod" exited with code 2
body: <p>I'm building web application using asp.net core 2x and angular 5,during development/debug mode everything is getting build well.But when i try to publish it with release mode in visual studio 2017 am getting this error.please help me to resolve this.Am not using this in my code but it exists. Function calls are not supported in decorators but 'makeParamDecorator' was called in 'Injectable'
  'Injectable' calls 'makeParamDecorator'.Please help.Thanks in advance.<a href="https://i.stack.imgur.com/TfIta.png" rel="noreferrer">Screenshot of my error message</a></p>