itgalaxy / favicons

Favicons generator for Node.js
MIT License
1.19k stars 164 forks source link

Transpile co CJS to keep backward compatibility #355

Closed andy128k closed 2 years ago

andy128k commented 2 years ago

Generally, I agree that ESM is the way to go. What disturbs me is that it is a breaking change and things like favicons-webpack-plugin will require switch to ESM too.

alexander-akait commented 2 years ago

They can use import().then() to load ESM in CommonJS