-
Notifications
You must be signed in to change notification settings - Fork 23
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 5 compatibility #439
Comments
I assume this error occurs with every package that makes use of Buffer, right? |
I think. |
It is expected. Twing is Buffer based - needed to support encoding as Twig specification enforces. Is there an available polyfill for webpack v5? |
Ok I read some doc about it. Webpack v5 recommand to use I think it's the way, it can be useful to make I try to ask more question about it webpack/changelog-v5#10 |
Do we need to change something here? Twing already comes with a browser specific flavor (via the |
I close, feel free to reopen is the issue is still legit. |
Hello
I think it's because Webpack 5 remove Node.js polyfills
I try to update
webpack@next
and i have an error onutf8-binary-cutter
dependency of twing.The text was updated successfully, but these errors were encountered: