microsoft / design-to-code

A system of development tools, and utilities used à la carte or as a suite to build enterprise-grade websites and applications.
MIT License
24 stars 6 forks source link

add file extensions to imports #209

Closed nicholasrice closed 2 years ago

nicholasrice commented 2 years ago

Pull Request

📖 Description

This PR adds file extensions to all relative import / export paths. This work enables NodeJS to correctly resolve the modules using ES module resolution.

🎫 Issues

👩‍💻 Reviewer Notes

✅ Checklist

General

⏭ Next Steps

janechu commented 2 years ago

You'll need to run npm run change at the root to generate a changefile.