-
Notifications
You must be signed in to change notification settings - Fork 762
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
use extension in relative imports #2292
Comments
I'm guess the only reason why this still work without extension is b/c you transpile it to cjs for compability? |
@jimmywarting exactly, CJS is just one of the transpiled form. Mapping of build fragments is explicitly defined in package.json: https://github.com/swagger-api/swagger-js/blob/master/package.json#L10 |
This is the new EMS way of doing things. Closes #2292
🎉 This issue has been resolved in version 3.18.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
swagger-js/src/index.js
Lines 3 to 8 in ba0db61
extension less is a bit non-esm ish way of doing things
The text was updated successfully, but these errors were encountered: