yao-pkg / pkg

Package your Node.js project into an executable
https://www.npmjs.com/package/@yao-pkg/pkg
MIT License
312 stars 11 forks source link

fix: parsing of .cjs files as .js #8

Closed robertsLando closed 9 months ago

robertsLando commented 9 months ago

This pull request fixes the issue where .cjs files were not being correctly parsed as .js files. The isDotJS function has been updated to include the .cjs extension in the check.