leoforfree / cz-customizable

A standalone commit message helper or customizable commitizen adapter for https://github.com/commitizen/cz-cli
MIT License
609 stars 200 forks source link

ES6 support #217

Open danielgroen opened 1 year ago

danielgroen commented 1 year ago

Hi,

I run this command on es6: "type": "module" in my package json. However when i refer to the standalone.js i get the notification that i can't use require(); Since i don't use commonjs

Can you also build a es6 export?

Note: there was nothing wrong with my config file since i used the default config. afbeelding

linpengteng commented 1 year ago

May be you can use .cjs

rainTai commented 1 year ago

https://github.com/leoforfree/cz-customizable/issues/199