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

Support Vercel ncc #84

Open
AbhiPrasad opened this issue Feb 23, 2024 · 0 comments
Open

Support Vercel ncc #84

AbhiPrasad opened this issue Feb 23, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@AbhiPrasad
Copy link
Collaborator

https://github.com/vercel/ncc

Under the hood @vercel/ncc uses webpack, and emits a stats.json file. Example command: ncc build index.js -o dist --stats-out dist/stats.json.

The only viable option to do this is to make ncc to emit a stats file which we parse and transform into our schema. We lose the ability to do normalization if we do this though :(

There is a less pretty option here which involves monkeypatching, but just might be too much effort 😢

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

No branches or pull requests

3 participants