Build Ng体型vs吞咽体型角度7

Build Ng体型vs吞咽体型角度7,build,gulp,angular7,Build,Gulp,Angular7,在我的角度项目中,我整合了吞咽。 我想得到与吞咽ng build相同的结果。我创建了必要的任务,我可以编译main.js文件中的所有内容,但是如果我部署在nginx服务器上,它会给我一个错误。 My gulpfile.js(任务,编译) })) 我的tConfig { "compilerOptions": { "target": "ES5", "module": "es2015", "sourceMap": true, "emitDecoratorMe

在我的角度项目中,我整合了吞咽。 我想得到与吞咽ng build相同的结果。我创建了必要的任务,我可以编译main.js文件中的所有内容,但是如果我部署在nginx服务器上,它会给我一个错误。 My gulpfile.js(任务,编译)

}))

我的tConfig

{
  "compilerOptions": {
     "target": "ES5",
     "module": "es2015",
     "sourceMap": true,
     "emitDecoratorMetadata": true,
     "experimentalDecorators": true,
     "moduleResolution": "node",
     "removeComments": false
   }

 }
{
  "compilerOptions": {
     "target": "ES5",
     "module": "es2015",
     "sourceMap": true,
     "emitDecoratorMetadata": true,
     "experimentalDecorators": true,
     "moduleResolution": "node",
     "removeComments": false
   }

 }