Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: Errors Using npm bundler -- need help
So I am seeing the following errors in the bundler report file:

I know this is happening because the formidable package includes some "true" node stuff like fs, os, path etc. Can someone tell me how to configure my .npmbundlerrc to suppress these errors? I have tried a variety of different things including as my most recent attempt :
"ignore": [
"formidable/*.*"
],

I know this is happening because the formidable package includes some "true" node stuff like fs, os, path etc. Can someone tell me how to configure my .npmbundlerrc to suppress these errors? I have tried a variety of different things including as my most recent attempt :
"ignore": [
"formidable/*.*"
],
Attachments:
You should use "exclude" (see https://github.com/liferay/liferay-js-toolkit/wiki/.npmbundlerrc-file-reference#exclude)
The "ignore" setting is for your project's files only.
Cheers,
Ivan
The "ignore" setting is for your project's files only.
Cheers,
Ivan