-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
I get the following error while trying to serve node_modules
folder:
ELOOP: Too many symbolic links encountered
syscall: "stat"
errno: -40
The solution is to not call listFiles
if alwaysStatic
is set to false. I also think forcing static behavior in production should be removed, as it can be done easily by the library consumer. It is a one-liner like this:
.use(staticPlugin({
alwaysStatic: process.env.ENV === 'production'
}))
You can find modified version addressing this issue here
Metadata
Metadata
Assignees
Labels
No labels