Skip to content

Conversation

@guybedford
Copy link
Contributor

This PR adds support for .cjs output files from ncc, when the input file is using the .cjs extension.

As included in the readme comment, this is useful for packages setting "type": "module" in the package.json that want '.js' files in the package to be able to be modules, and thus need the '.cjs' extension on all CommonJS files.

@guybedford guybedford changed the title Add support for .mjs and .cjs outputs Feb 20, 2020
Copy link
Member

@styfle styfle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Co-Authored-By: Steven <steven@ceriously.com>
@styfle styfle changed the title Add support for .cjs outputs Feb 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants