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

nolyfill only devDependencies? #40

Open
jonny133 opened this issue Oct 13, 2023 · 0 comments
Open

nolyfill only devDependencies? #40

jonny133 opened this issue Oct 13, 2023 · 0 comments

Comments

@jonny133
Copy link

Would it be feasible to nolyfill only devDependencies? Please correct me if my understanding is wrong.

An example use case is in the context of an environment where we are building code for browsers, where we want to support down to, say, ES6. Assume that in our production dependencies we use various libraries and build processes, some of which may contain polyfills as subdependencies which are detected by nolyfill and we don't want replaced.

However, devDependencies such as eslint plugins take a long time to run, on a Node.js 12+ (ES2019+) environment that one would like to have the benefits of nolyfill for.

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