svg/svgo

Version 3.3.0 break commonjs exports

nuintun opened this issue · 0 comments

Describe the bug

Version 3.3.0 break commonjs exports.

To Reproduce

Use v3.3.0

const { loadConfig } = require('svgo');

console.log(loadConfig); // Output: undefined

Expected behavior

Export loadConfig method.

Desktop (please complete the following information):

  • SVGO Version [3.3.0]
  • NodeJs Version [22.1.0]

PR Fixed

#1984