Hybris 从编译中排除 Smart Edit grunt

Nex*_*nts 0 sap-commerce-cloud smartedit

有没有办法从 ant 构建过程中排除 smart edit grunt rush 编译?这个繁琐的过程增加了 ant 构建编译大约 2 分钟的时间才能完成。

小智 5

紧急构建是在smartedittools扩展内部触发的,因此即使您的店面中没有安装插件或者根本没有店面(例如,当使用像斯巴达克斯这样的解耦前端时)它也会执行

您可以使用smartedittools.only.build.once=true标志告诉它只构建一次,请参阅以下评论smartedittools/project.properties

# Introduce new flag to skip smartedit build if bundle files(smartedit/apps/smartedit-master/dist/**) already generated.
# Smartedit dev team: Will keep value false by default since Rush incremental build working fine under git working tree.
# Other hybris team and Non-Smartedit partner: Use true to avoid build smartedit everytime in commerce-suite.zip env.
# Smartedit partner: Update the value on-demand, delete the smartedit bundle or change flag to true will build again.
smartedittools.only.build.once=false
Run Code Online (Sandbox Code Playgroud)