* Fix warning for API routes with next export * Update warning copy
* Throw error if next export detects an api route * Moved the test to the export tests * Added missing comma * Move the API route comment * Add comma after replace * Show a warning instead