Skip to content

Add server component exports

Rainer Friederich requested to merge issue/next_webform-3413242:1.0.x into 1.0.x

This PR does the following:

  • Change build to tsup (like next-drupal)
  • Add additional entry point (server)
  • Add server only exports to the server entry point
  • Keep client exports on the index entry point for BC reasons
  • Adjust api route to new app router next object.
  • Add example project using app router
  • duplicate cypress tests for now (simplictiy to get first review)

I would like to get a review on the direction and the wanted style of this. We could also deprecate pages router and tag a 2.0 with only the app router items.

The current changes would allow for a 1.2.0 release

Merge request reports