-
-
Notifications
You must be signed in to change notification settings - Fork 26
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 the possibility to use filenamify
with webpack 5, without adding a path
polyfill
#16
Comments
Sorry, I have no intention of providing polyfills in my Node.js packages. This is Webpack's problem. They chose to drop automatic polyfills. Node.js users shouldn't have to be punished with a lot more dependencies because of this. I would recommend voicing your concern over at https://github.com/webpack/webpack |
Ah, sorry, there has been a slight misunderstanding here and I should've voiced my request more clearly. We only need the I'm not asking you to include a |
We could maybe split the file into two files, in index.js, import both, and add a subpath export file called |
Yes, that sounds exactly like what I had in mind. |
Hey, thanks for this tool!
Since we're currently updating our repo to webpack 5 (which is soon to be released), and webpack 5 drops automatic Node polyfills, we would like to still be able to use
filenamify
but don't necessarily want to include apath
polyfill just for that.Would it be possible for you to enable the usage of
filenamify
without requiringpath
?The text was updated successfully, but these errors were encountered: