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

Warning about MaxListenersExceededWarning #12

Open
arananegra opened this issue Nov 20, 2020 · 0 comments
Open

Warning about MaxListenersExceededWarning #12

arananegra opened this issue Nov 20, 2020 · 0 comments

Comments

@arananegra
Copy link

Hi there,

When using your plugin along with several webpack entries + po languages (15 po files) a warning on node is displayed.

(node:12160) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 exit listeners added to [process]. Use emitter.setMaxListeners() to increase limit
I think that the main problem is that there are many listeners processing all the javascript files (multiplying each webpack js entry by the number of languages).

I have also noticed that the css files are being also processed with this plugin (generating css files per language when this is not something that is wanted).

I have tried your option to excludedPlugins (passing the mini-css-extract-plugin as parameter) but this triggers compilation errors.

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