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

webpack build to emit errors in sane way #4

Closed
maraisr opened this issue Jul 12, 2021 · 1 comment
Closed

webpack build to emit errors in sane way #4

maraisr opened this issue Jul 12, 2021 · 1 comment

Comments

@maraisr
Copy link
Collaborator

maraisr commented Jul 12, 2021

Be very cool if webpack could break the build if --validate would for instance fail, as in do derived files exist or not. This would be a client-side error emitted in the loader in mode: development and a blatant break-the-build in mode: production.

In the same was a Relay emits the if (__DEV__ && hash === computedHash) { throw new Error(); } during its dev-mode.

@theKashey
Copy link
Owner

Now it can emit errors or autogenerate missing image
✅ in v1.1.1

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

No branches or pull requests

2 participants