blomqma / next-rest-framework

Type-safe, self-documenting APIs for Next.js
https://next-rest-framework.vercel.app
Other
155 stars 20 forks source link

Update prettier import syntax #104

Closed blomqma closed 11 months ago

blomqma commented 11 months ago

This fix imports all named prettier exports as a single module according to the prettier API documentation: https://prettier.io/docs/en/api.html

This is a potential fix for a module resolution issue that causes a crash in some environments where the default import causes "module" not being found.

vercel[bot] commented 11 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
next-rest-framework ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 14, 2023 9:26pm
next-rest-framework-demo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 14, 2023 9:26pm