Conversation
|
|
|
Yeah, After upgrading to typeconv v2, it became apparent that the package no longer supports the 'require' syntax, necessitating the use of 'import' statements instead. Within the 'dist > ServerlessAutoSwagger.js' file, the original code block: Was replaced with the following code: ` const packagePath = (0, path_1.dirname)(require.resolve('serverless-auto-swagger-update-typeconv/package.json')); The adjustments proved effective, allowing seamless integration. Following the modifications, we proceeded to publish the updated version on our npm account, enabling its utilization to meet our project requirements. For further details, please refer to serverless-auto-swagger-updated-typeconv-esm |
|
If you're willing to update this PR with the necessary steps to convert this library to ESM, I'd be happy to release it as v4.0.0 I unfortunately just don't have the time to update this repository anymore |
No description provided.