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

Proposal: Add pre build validation hooks #461

Open
renoirb opened this issue Sep 1, 2020 · 0 comments
Open

Proposal: Add pre build validation hooks #461

renoirb opened this issue Sep 1, 2020 · 0 comments

Comments

@renoirb
Copy link
Contributor

renoirb commented Sep 1, 2020

When exposing build step, provide available module lookup before running build.

Say we provide a system to bundle a package, that it reads babel/env, Browserslist, Core-JS, etc. And want to help the author make variants of the build for different build targets. But the build step run on host package lacks dependencies. The build likely will have warnings but won't necessarily fail. But the output would definitely be different.

I've worked on extending bili, and would propose to port my ideas here.

For example:

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

1 participant