next-runtime icon indicating copy to clipboard operation
next-runtime copied to clipboard

`ntl dev` should fail if middleware is in incorrect folder

Open ascorbic opened this issue 3 years ago • 0 comments

Currently ntl dev allows you to place middleware in the root when pages are in src. This is invalid, and will fail when the site is deployed. The CLI should show this as an error.

ascorbic avatar Jan 09 '23 15:01 ascorbic