create-react-app icon indicating copy to clipboard operation
create-react-app copied to clipboard

add support for cjs files in project and in modules

Open mcfedr opened this issue 3 years ago • 7 comments
trafficstars

I'm having problems using modules that ship files with .cjs extension, these config changes should allow these files to be processed as other js files.

mcfedr avatar Jul 22 '22 10:07 mcfedr

Hi @mcfedr!

Thank you for your pull request and welcome to our community.

Action Required

In order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you.

Process

In order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA.

Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with CLA signed. The tagging process may take up to 1 hour after signing. Please give it that time before contacting us about it.

If you have received this in error or have any questions, please contact us at [email protected]. Thanks!

facebook-github-bot avatar Jul 22 '22 10:07 facebook-github-bot

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Meta Open Source project. Thanks!

facebook-github-bot avatar Jul 22 '22 14:07 facebook-github-bot

Please review this PR, I faced the same issue when an ESM dependency that contains a .cjs (generated file) (see https://github.com/status-im/js-waku/issues/895)

fryorcraken avatar Aug 19 '22 03:08 fryorcraken

This PR is a duplicate of #12021! I believe this would fix #12155. Hoping for this to be reviewed and merged!

vezwork avatar Sep 07 '22 18:09 vezwork

I also would love for this one to be reviewed and merged.

deivamagalhaes avatar Feb 10 '23 18:02 deivamagalhaes

Oh please please review this so that the past 3 days of my life were not in vain! 💀

danny-does-stuff avatar Oct 05 '23 19:10 danny-does-stuff