HAMUR_E1157: A server entry holds code besides imports and defineServer
A server entry holds code besides imports and defineServer. Error HAMUR_E1157 belongs to hamur, scan, build and dev (1001 – 1999).
Message
HAMUR_E1157 this file is split by the build; it holds imports, re-exports and export default defineServer(…); move other code to a file it imports
Cause
The server entry holds code other than imports, re-exports and export default defineServer(…). The build splits the file.
Fix
Move the other code to a file the entry imports.