1.0.0-alpha.1 • Published 3 months ago

swc-plugin-add-import-extension v1.0.0-alpha.1

Weekly downloads
-
License
MIT
Repository
github
Last release
3 months ago

swc-plugin-add-import-extension

SWC plugin to add extensions to esm import and export module names

📄 Notes

Need to detect:

  • local imports/exports (not possible w/o node resolver)
  • alias imports/exports (shall we read ts paths?/perhaps better to provide regex in plugin cfg)
  • *baseUrl imports/exports (not possible w/o node resolver + swc still does not support this atm)

🎉 Contributing

Contributions are welcome! Whether it is a small documentation change or a breaking feature, we welcome it!

Please note: All contributions are taken under the MIT license

👥 Contributors