Open DevSDK opened 9 months ago
Hi folks, I have a problem using this package in the CommonJS environment in my company.
According to the nodejs specification [1], the 'require' key should be the target for CommonJS.
Therefore, change the target that is already built for the 'require' key for conditional exports.
[1] https://nodejs.org/api/packages.html#conditional-exports
Please use the esm package. I removed the support for csm to lower the burden of maintenance for me. There is a section in the readme on how to use it: https://github.com/svgdotjs/svgdom#use-svgdom-as-cjs-module
Hi folks, I have a problem using this package in the CommonJS environment in my company.
According to the nodejs specification [1], the 'require' key should be the target for CommonJS.
Therefore, change the target that is already built for the 'require' key for conditional exports.
[1] https://nodejs.org/api/packages.html#conditional-exports