Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

continue when errors 跳过编译错误? #1

Closed
NewFuture opened this issue Feb 20, 2019 · 1 comment
Closed

continue when errors 跳过编译错误? #1

NewFuture opened this issue Feb 20, 2019 · 1 comment
Labels
question Further information is requested

Comments

@NewFuture
Copy link
Owner

NewFuture commented Feb 20, 2019

编译时遇到错误会中断编译,watch时出错会继续。

如何在编译时跳过错误?

@NewFuture NewFuture added the question Further information is requested label Feb 20, 2019
@NewFuture
Copy link
Owner Author

NewFuture commented Feb 20, 2019

构建过程中允许出现错继续是 不推荐的

暂不考虑提供参数跳过,但是可以通过node运行时的env变量强制跳过错误

Linux/MacOS

SKIP_ERROR=true && miniprogram-build

Windows cmd

set SKIP_ERROR=true && miniprogram-build

跨平台( cross platform) cross-env

cross-env SKIP_ERROR=true miniprogram-build

@NewFuture NewFuture pinned this issue Jun 24, 2019
@NewFuture NewFuture unpinned this issue Jun 26, 2019
@NewFuture NewFuture pinned this issue Jun 26, 2019
@NewFuture NewFuture unpinned this issue Jun 26, 2019
@NewFuture NewFuture pinned this issue Jun 26, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant