ProNextJS / declarative-routing

NextJS Typesafe Routing System
MIT License
193 stars 13 forks source link

ignore node_modules and dist on glob scan #4

Closed xela92 closed 1 month ago

xela92 commented 1 month ago

Ignore node_modules and dist from glob scan.

Including those folders would lead sometimes to a result like this:


import * as NodemodulesBabelHighlightNodemodulesColorconvertRoute from "@myorg/mypackage/node_modules/@babel/highlight/node_modules/color-convert/route.info";
import * as NodemodulesColorconvertRoute from "@myorg/mypackage/node_modules/color-convert/route.info";```
xela92 commented 1 month ago

@jherr what do you think about this?

jherr commented 1 month ago

I think it's great! Let's go!