Параметр maxFileSize настраивается в файле datasources.json:
"storage": {
"name": "storage",
"connector": "loopback-component-storage",
"allowedContentTypes": ["image/jpg", "image/jpeg", "image/png"],
"provider": "filesystem",
"maxFileSize": "1048576",
"root": "image"
}
}