VueWordCloud icon indicating copy to clipboard operation
VueWordCloud copied to clipboard

fix: Add ESM compatibility

Open leovoon opened this issue 1 year ago • 0 comments

Node.js treats files with a .js extension as ES modules when the nearest parent package.json file contains a top-level "type" field with a value of "module". If the "type" field is not present in the package.json file, or it contains "type": "commonjs", .js files are treated as CommonJS nodejs.org.

https://publint.dev/[email protected]

Please review and merge this pull request to promote ESM compatibility and improve the package's versatility across different environments. Thanks for your attention.

leovoon avatar Jul 13 '23 01:07 leovoon