Closed MarkShurmer closed 3 months ago
change main key in package.json to point to pgn.js file
this allows projects to import using ESM directly, for example typescript projects that are set to ESM imports rather than CJS imports
the main section of the package.json is the entry pointif you don't have an index.js https://docs.npmjs.com/cli/v10/configuring-npm/package-json#main
Thank you! 👍
change main key in package.json to point to pgn.js file
this allows projects to import using ESM directly, for example typescript projects that are set to ESM imports rather than CJS imports
the main section of the package.json is the entry pointif you don't have an index.js https://docs.npmjs.com/cli/v10/configuring-npm/package-json#main