Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add error handling options #24

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Enteleform
Copy link

@Enteleform Enteleform commented Jan 6, 2021

Implements & resolves #23.

Usage is documented @ Readme (#1, #2)

import { WebpackError } from 'webpack'

export type FunctionWithErrors = (errors?:WebpackError[]) => void
export type OnError = 'skip' | 'execute'
Copy link
Owner

@s00d s00d Jan 14, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please change OnError to bool, creating string with 2 variants is very strange.

OnErrorSkip = boolean

@Yehonal
Copy link

Yehonal commented Nov 16, 2022

any news here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants