【问题标题】:webpack command to trigger buildwebpack 命令触发构建
【发布时间】:2017-06-02 08:11:43
【问题描述】:

我正在开发一个 Angular 项目,我希望在 JenkinsFile 中配置构建命令。我们之前使用的构建命令是 node_modules/@angular/cli/bin/ng build(从 'angular/cli' 触发构建);我想配置等效的 webpack 命令。我试过node_modules/webpack/bin/webpack/webpack;但它从来没有用过,有人可以帮助我使用正确的命令来通过 node_modules 目录触发 webpack 吗?

【问题讨论】:

  • 你试过这个命令节点node_modules\.bin\webpack

标签: angular webpack


【解决方案1】:

试试这个命令:

$ node_modules/.bin/webpack

【讨论】:

    【解决方案2】:

    node_modules/.bin/ 成功了

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2015-07-30
      • 1970-01-01
      • 2019-01-22
      • 1970-01-01
      • 2019-09-26
      • 2019-11-09
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多