I’m wondering if there is a way to config folders other than client to support client only code?
Any folder hiearchy containing a client
subfolder will ensure that the subfolder files only get loaded on the client.
app
+-- myFolder
+-- anotherFolder
+-- client <- files in this folder go on the client
Alternatively, you can put files in the imports/
folder tree and explicitly pull them in where needed using import
.